correção end point "logs"
Browse files- app/main.py +1 -1
app/main.py
CHANGED
|
@@ -31,7 +31,7 @@ def startup_event():
|
|
| 31 |
def health():
|
| 32 |
return {"status": "ok"}
|
| 33 |
|
| 34 |
-
@
|
| 35 |
def read_logs():
|
| 36 |
try:
|
| 37 |
if not os.path.exists(LOG_PATH):
|
|
|
|
| 31 |
def health():
|
| 32 |
return {"status": "ok"}
|
| 33 |
|
| 34 |
+
@app.get("/logs")
|
| 35 |
def read_logs():
|
| 36 |
try:
|
| 37 |
if not os.path.exists(LOG_PATH):
|