Arts-of-coding commited on
Commit
2234e8b
·
verified ·
1 Parent(s): b486fcf

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -4
main.py CHANGED
@@ -53,10 +53,7 @@ app = FastAPI()
53
  #app.mount("/dashboard2", WSGIMiddleware(dashboard2.server))
54
 
55
  # Define the main API endpoint
56
- @app.get("/")
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__":