Revert "Добавил простую метрику"
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing

Тут этого быть не должно 0_0

This reverts commit 54139d6f76.
This commit is contained in:
Lulzette 2021-11-01 04:30:27 +03:00
parent 49f981708a
commit 74cd6c6d4b

10
main.py
View File

@ -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):
''' '''