Spaces:
Sleeping
Sleeping
Update server.py
Browse files
server.py
CHANGED
|
@@ -252,7 +252,7 @@ def require_auth() -> str:
|
|
| 252 |
|
| 253 |
@app.route("/")
|
| 254 |
def index():
|
| 255 |
-
#
|
| 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"
|