Skip to content

Commit 7513033

Browse files
committed
fix format
1 parent 2821207 commit 7513033

File tree

2 files changed

+65
-59
lines changed

2 files changed

+65
-59
lines changed

app/application.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,21 @@
22
import typing
33

44
import fastapi
5-
from fastapi.middleware.cors import CORSMiddleware
65
import modern_di_fastapi
76
from advanced_alchemy.exceptions import DuplicateKeyError
7+
from fastapi.middleware.cors import CORSMiddleware
88

99
from app import exceptions, ioc
1010
from app.api.decks import ROUTER
1111
from app.settings import settings
1212

13+
1314
ALLOWED_ORIGINS = [
1415
"http://localhost:5173",
1516
# YOUR ALLOWED ORIGINS HERE
1617
]
1718

19+
1820
def include_routers(app: fastapi.FastAPI) -> None:
1921
app.include_router(ROUTER, prefix="/api")
2022

0 commit comments

Comments
 (0)