From 953580a943246cfdb315b20e93364383f4b21bc7 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Sat, 14 May 2022 23:23:22 -0700 Subject: [PATCH] added tabby.sh to CORS --- backend/tabby/settings.py | 2 +- .eslintrc.yml => frontend/.eslintrc.yml | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename .eslintrc.yml => frontend/.eslintrc.yml (100%) diff --git a/backend/tabby/settings.py b/backend/tabby/settings.py index 96a30ce..2e0505c 100644 --- a/backend/tabby/settings.py +++ b/backend/tabby/settings.py @@ -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', diff --git a/.eslintrc.yml b/frontend/.eslintrc.yml similarity index 100% rename from .eslintrc.yml rename to frontend/.eslintrc.yml