Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ def read_root():
|
|
| 53 |
logger.info(f"Serving static file for path")
|
| 54 |
return FileResponse('static/index.html')
|
| 55 |
|
| 56 |
-
@app.get("/
|
| 57 |
def custom_auth():
|
| 58 |
# Verify the user's identity with custom logic.
|
| 59 |
token = create_jwt(cl.User(identifier="Test User"))
|
|
|
|
| 53 |
logger.info(f"Serving static file for path")
|
| 54 |
return FileResponse('static/index.html')
|
| 55 |
|
| 56 |
+
@app.get("/api")
|
| 57 |
def custom_auth():
|
| 58 |
# Verify the user's identity with custom logic.
|
| 59 |
token = create_jwt(cl.User(identifier="Test User"))
|