Revert "Добавил простую метрику"
Тут этого быть не должно 0_0
This reverts commit 54139d6f76
.
This commit is contained in:
parent
49f981708a
commit
74cd6c6d4b
10
main.py
10
main.py
@ -104,16 +104,6 @@ class Back():
|
|||||||
return bool(posts.delete_one({'name': name}).deleted_count)
|
return bool(posts.delete_one({'name': name}).deleted_count)
|
||||||
|
|
||||||
|
|
||||||
class Metrics:
|
|
||||||
def alive():
|
|
||||||
return str("alive 1")
|
|
||||||
|
|
||||||
|
|
||||||
@route('/metrics')
|
|
||||||
def metrics():
|
|
||||||
return Metrics.alive()
|
|
||||||
|
|
||||||
|
|
||||||
@route('/post/<name>')
|
@route('/post/<name>')
|
||||||
def post(name):
|
def post(name):
|
||||||
'''
|
'''
|
||||||
|
Loading…
Reference in New Issue
Block a user