Arts-of-coding
commited on
Commit
•
33821ef
1
Parent(s):
986c400
Update main.py
Browse files
main.py
CHANGED
@@ -63,6 +63,11 @@ external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']
|
|
63 |
#app.mount("/dashboard2", WSGIMiddleware(dashboard2.server))
|
64 |
|
65 |
app = FastAPI()
|
|
|
|
|
|
|
|
|
|
|
66 |
# Start the FastAPI server
|
67 |
if __name__ == "__main__":
|
68 |
app.mount("/dashboard1", WSGIMiddleware(dashboard1.server))
|
|
|
63 |
#app.mount("/dashboard2", WSGIMiddleware(dashboard2.server))
|
64 |
|
65 |
app = FastAPI()
|
66 |
+
|
67 |
+
@app.get("/")
|
68 |
+
async def root():
|
69 |
+
return {"message": "Hello World"}
|
70 |
+
|
71 |
# Start the FastAPI server
|
72 |
if __name__ == "__main__":
|
73 |
app.mount("/dashboard1", WSGIMiddleware(dashboard1.server))
|