This commit is contained in:
Administrator 2023-09-23 16:22:05 +03:00
parent 73d1d3f957
commit 9e0919466c
3 changed files with 11 additions and 1 deletions

View File

@ -9,5 +9,6 @@ urlpatterns = [
path(*SelectProject.as_path()),
path(*ProfileView.as_path()),
path(*ProfilePhoto.as_path()),
path(*LogoutView.as_path())
path(*LogoutView.as_path()),
path(*PingView.as_path())
]

View File

@ -4,3 +4,4 @@ from .select_project import SelectProject
from .profile import ProfileView
from .profile_photo import ProfilePhoto
from .logout import LogoutView
from .ping import PingView

8
web/views/ping.py Normal file
View File

@ -0,0 +1,8 @@
from BaseLib.BaseView import BaseView
class PingView(BaseView):
endpoint = 'ping'
def get(self):
return {}