habulaj commited on
Commit
7e39815
·
verified ·
1 Parent(s): a1b79ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,10 +1,12 @@
1
  from fastapi import FastAPI
2
  from routes.hello import router as hello_router
 
3
 
4
  app = FastAPI()
5
 
6
  # Incluindo a rota separada
7
  app.include_router(hello_router)
 
8
 
9
  @app.get("/")
10
  def root():
 
1
  from fastapi import FastAPI
2
  from routes.hello import router as hello_router
3
+ from routes.subscription import router as subscription_router
4
 
5
  app = FastAPI()
6
 
7
  # Incluindo a rota separada
8
  app.include_router(hello_router)
9
+ app.include_router(subscription_router)
10
 
11
  @app.get("/")
12
  def root():