mirror of
https://github.com/Eugeny/tabby-web.git
synced 2025-06-07 21:19:53 +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:
|
||||
CORS_ALLOWED_ORIGINS = [FRONTEND_URL]
|
||||
CORS_ALLOWED_ORIGINS = [FRONTEND_URL, 'https://tabby.sh']
|
||||
CORS_ALLOW_CREDENTIALS = True
|
||||
CORS_ALLOW_HEADERS = [
|
||||
'accept',
|
||||
|
Loading…
x
Reference in New Issue
Block a user