add judge_server related api
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
from django.conf.urls import url
|
||||
|
||||
from ..views import WebsiteConfigAPI
|
||||
from ..views import WebsiteConfigAPI, JudgeServerHeartbeatAPI
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^website$', WebsiteConfigAPI.as_view(), name="website_info_api"),
|
||||
url(r'^judge_server_heartbeat$', JudgeServerHeartbeatAPI.as_view(), name="judge_server_heartbeat_api")
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user