File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 149
149
}
150
150
151
151
# ##################################################################### #
152
- # ################### CORS ############################### #
152
+ # CORS
153
153
# ##################################################################### #
154
154
155
+ CORS_ALLOW_ALL_ORIGINS = True
156
+
155
157
# Load the default ones
156
158
CORS_ALLOWED_ORIGINS = ["http://localhost:3000" , "http://127.0.0.1:3000" ]
157
159
160
162
161
163
if CORS_ALLOWED_ORIGINS_ENV :
162
164
CORS_ALLOWED_ORIGINS += CORS_ALLOWED_ORIGINS_ENV .split (' ' )
163
-
165
+
166
+
164
167
# ##################################################################### #
165
- # ################### TESTING ############################### #
168
+ # TESTING
166
169
# ##################################################################### #
167
170
168
171
TESTING = False
You can’t perform that action at this time.
0 commit comments