mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
fix: cors error
This commit is contained in:
parent
8e79d29319
commit
a66149baaa
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user