Skip to content

Commit

Permalink
CORS addition (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruuushhh authored Dec 19, 2023
1 parent a413504 commit 0143146
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ms_business_central_api/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,7 @@
# https://docs.djangoproject.com/en/4.2/howto/static-files/

STATIC_URL = "static/"

CORS_ORIGIN_ALLOW_ALL = True

CORS_ALLOW_HEADERS = ['sentry-trace', 'authorization', 'content-type']

0 comments on commit 0143146

Please sign in to comment.