12 lines
203 B
Python
12 lines
203 B
Python
|
from flask import Flask
|
||
|
import time
|
||
|
|
||
|
app = Flask(__name__)
|
||
|
|
||
|
@app.route("/healthcheck")
|
||
|
def ep_healthcheck():
|
||
|
return {
|
||
|
"date": time.strftime('%Y.%m.%d %H:%M:%S'),
|
||
|
"status": "OK"
|
||
|
}
|