mirror of
https://github.com/Eugeny/tabby-web.git
synced 2026-08-17 06:46:05 +01:00
added tabby.sh to CORS
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user