Skip to content

Commit 1fb85bc

Browse files
authored
fix renaming of CORS_ORIGIN_ALLOW_ALL (GeoNode#359)
1 parent 8cbb7e5 commit 1fb85bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.env.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ DEFAULT_FROM_EMAIL='{email}' # eg Company <[email protected]>
134134

135135
# Session/Access Control
136136
LOCKDOWN_GEONODE=False
137-
CORS_ORIGIN_ALLOW_ALL=True
137+
CORS_ALLOW_ALL_ORIGINS=True
138138
X_FRAME_OPTIONS="SAMEORIGIN"
139139
SESSION_EXPIRED_CONTROL_ENABLED=True
140140
DEFAULT_ANONYMOUS_VIEW_PERMISSION=True

.override_dev_env.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export DJANGO_EMAIL_USE_SSL=False
4646
export DEFAULT_FROM_EMAIL="GeoNode <[email protected]>"
4747

4848
export LOCKDOWN_GEONODE=False
49-
export CORS_ORIGIN_ALLOW_ALL=True
49+
export CORS_ALLOW_ALL_ORIGINS=True
5050
export X_FRAME_OPTIONS=SAMEORIGIN
5151
export SESSION_EXPIRED_CONTROL_ENABLED=True
5252
export DEFAULT_ANONYMOUS_VIEW_PERMISSION=True

0 commit comments

Comments
 (0)