Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
from fastapi import FastAPI
|
2 |
-
from routers import profanity # Importa
|
3 |
|
4 |
app = FastAPI()
|
5 |
|
@@ -7,5 +7,6 @@ app = FastAPI()
|
|
7 |
def greet_json():
|
8 |
return {"Hello": "World!"}
|
9 |
|
10 |
-
# Inclui as rotas
|
11 |
-
app.include_router(profanity.router)
|
|
|
|
1 |
from fastapi import FastAPI
|
2 |
+
from routers import profanity, other_route # Importa as rotas
|
3 |
|
4 |
app = FastAPI()
|
5 |
|
|
|
7 |
def greet_json():
|
8 |
return {"Hello": "World!"}
|
9 |
|
10 |
+
# Inclui as rotas
|
11 |
+
app.include_router(profanity.router)
|
12 |
+
app.include_router(other_route.router) # Inclui a rota adicional
|