mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-26 21:22:14 +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)
|
return d.strftime(__format)
|
||||||
|
|
||||||
|
|
||||||
|
@get('/ping')
|
||||||
|
def ping():
|
||||||
|
return 'pong'
|
||||||
|
|
||||||
|
|
||||||
@get('/getTotalSoftwares/')
|
@get('/getTotalSoftwares/')
|
||||||
def getTotalSoftwares():
|
def getTotalSoftwares():
|
||||||
response.set_header("Access-Control-Allow-Origin", "*")
|
response.set_header("Access-Control-Allow-Origin", "*")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user