Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,7 @@ from fastapi.responses import RedirectResponse
|
|
| 5 |
app = FastAPI()
|
| 6 |
|
| 7 |
@app.get('/')
|
|
|
|
| 8 |
def redirect():
|
| 9 |
return RedirectResponse('./home')
|
| 10 |
|
|
|
|
| 5 |
app = FastAPI()
|
| 6 |
|
| 7 |
@app.get('/')
|
| 8 |
+
@app.post('/')
|
| 9 |
def redirect():
|
| 10 |
return RedirectResponse('./home')
|
| 11 |
|