Paritosh Upadhyay commited on
Commit ·
8ea4e37
1
Parent(s): 9e5661a
Polish: Setting Dashboard as primary Cloud UI
Browse files
backend/app/scratch/subconscious_loop.py
CHANGED
|
@@ -25,6 +25,10 @@ app = FastAPI()
|
|
| 25 |
if os.path.exists("static"):
|
| 26 |
app.mount("/static", StaticFiles(directory="static"), name="static")
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
@app.get("/sovereign.html")
|
| 29 |
async def get_dashboard():
|
| 30 |
return FileResponse("static/sovereign.html")
|
|
|
|
| 25 |
if os.path.exists("static"):
|
| 26 |
app.mount("/static", StaticFiles(directory="static"), name="static")
|
| 27 |
|
| 28 |
+
@app.get("/")
|
| 29 |
+
async def root():
|
| 30 |
+
return FileResponse("static/sovereign.html")
|
| 31 |
+
|
| 32 |
@app.get("/sovereign.html")
|
| 33 |
async def get_dashboard():
|
| 34 |
return FileResponse("static/sovereign.html")
|