mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-25 04:40:53 +03:00
Added ping to monitor
This commit is contained in:
parent
7cc1e74130
commit
81894ae0a7
@ -29,6 +29,11 @@ def date(__format):
|
||||
return d.strftime(__format)
|
||||
|
||||
|
||||
@get('/ping')
|
||||
def ping():
|
||||
return 'pong'
|
||||
|
||||
|
||||
@get('/getTotalSoftwares/')
|
||||
def getTotalSoftwares():
|
||||
response.set_header("Access-Control-Allow-Origin", "*")
|
||||
|
Loading…
x
Reference in New Issue
Block a user