mirror of
https://github.com/Eugeny/tabby-web.git
synced 2025-06-08 05:29:52 +00:00
added tabby.sh to CORS
This commit is contained in:
parent
7d044b4726
commit
953580a943
@ -222,7 +222,7 @@ STATIC_ROOT = BASE_DIR / 'public'
|
|||||||
|
|
||||||
|
|
||||||
if FRONTEND_URL:
|
if FRONTEND_URL:
|
||||||
CORS_ALLOWED_ORIGINS = [FRONTEND_URL]
|
CORS_ALLOWED_ORIGINS = [FRONTEND_URL, 'https://tabby.sh']
|
||||||
CORS_ALLOW_CREDENTIALS = True
|
CORS_ALLOW_CREDENTIALS = True
|
||||||
CORS_ALLOW_HEADERS = [
|
CORS_ALLOW_HEADERS = [
|
||||||
'accept',
|
'accept',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user