Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -53,10 +53,7 @@ app = FastAPI()
|
|
| 53 |
#app.mount("/dashboard2", WSGIMiddleware(dashboard2.server))
|
| 54 |
|
| 55 |
# Define the main API endpoint
|
| 56 |
-
|
| 57 |
-
def index():
|
| 58 |
-
return "Hello"
|
| 59 |
-
app.mount("/", WSGIMiddleware(dashboard1.server))
|
| 60 |
|
| 61 |
# Start the FastAPI server
|
| 62 |
if __name__ == "__main__":
|
|
|
|
| 53 |
#app.mount("/dashboard2", WSGIMiddleware(dashboard2.server))
|
| 54 |
|
| 55 |
# Define the main API endpoint
|
| 56 |
+
app.mount('/dashboard1', WSGIMiddleware(dashboard_server))
|
|
|
|
|
|
|
|
|
|
| 57 |
|
| 58 |
# Start the FastAPI server
|
| 59 |
if __name__ == "__main__":
|