fix: cors error

This commit is contained in:
naterfute 2025-04-07 00:56:08 -07:00
parent 8e79d29319
commit a66149baaa

View File

@ -8,8 +8,8 @@ secret_key = "${base64:48}"
[config]
env = [
"Domain=${main_domain}",
"WEB_URL=${main_domain}",
"Domain=${host}",
"WEB_URL=${host}",
"PGHOST=plane-db",
"PGDATABASE=plane",
"POSTGRES_USER=${username}",
@ -40,7 +40,7 @@ env = [
"DEBUG=0",
"SENTRY_DSN=",
"SENTRY_ENVIRONMENT=production",
"CORS_ALLOWED_ORIGINS=",
"CORS_ALLOWED_ORIGINS=%{host}%",
"GUNICORN_WORKERS=1",
"USE_MINIO=1",
"DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@plane-db/plane",