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.jwt import revoke_access, revoke_refresh
|
||||||
from services.password import get_password_hash
|
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 = [
|
origins = [
|
||||||
"http://localhost:8000",
|
"http://localhost:8000",
|
||||||
"https://localhost:8001",
|
"https://localhost:8001",
|
||||||
|
|
Loading…
Reference in New Issue