CLMARRARA commited on
Commit
4a3aa7c
·
verified ·
1 Parent(s): 9e114e3

correção end point "logs"

Browse files
Files changed (1) hide show
  1. 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
- @router.get("/logs")
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):