root path
This commit is contained in:
parent
cae88256ee
commit
d3fc84d06f
@ -24,7 +24,7 @@ from database.exercices.models import Exercice, ExerciceReadFull
|
||||
from services.jwt import revoke_access, revoke_refresh
|
||||
from services.password import get_password_hash
|
||||
|
||||
app = FastAPI(title="API Generateur d'exercices")
|
||||
app = FastAPI(title="API Generateur d'exercices", root_path="/api")
|
||||
origins = [
|
||||
"http://localhost:8000",
|
||||
"https://localhost:8001",
|
||||
|
Loading…
x
Reference in New Issue
Block a user