Antoni09 commited on
Commit
b2cf4b1
·
verified ·
1 Parent(s): 027a7d6

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +1 -1
server.py CHANGED
@@ -252,7 +252,7 @@ def require_auth() -> str:
252
 
253
  @app.route("/")
254
  def index():
255
- # Pobierz ostatnie notatki i pokaż w HTML
256
  with engine.begin() as conn:
257
  rows = conn.execute(text(
258
  "SELECT id, body, created_at FROM notes ORDER BY id DESC LIMIT 20"
 
252
 
253
  @app.route("/")
254
  def index():
255
+ print("Rendering index.html...") # Debugowanie, czy funkcja jest wywoływana
256
  with engine.begin() as conn:
257
  rows = conn.execute(text(
258
  "SELECT id, body, created_at FROM notes ORDER BY id DESC LIMIT 20"