Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Communications Backbone System
communications-backbone
Commits
c17e6778
Unverified
Commit
c17e6778
authored
2 years ago
by
Dan Jones
Browse files
Options
Download
Email Patches
Plain Diff
fix: remove commented out static cors config
parent
dab26204
dev
11-add-websockets
master
v1.0.0
v0.1.0
v0.0.1
2 merge requests
!23
Resolve "Release v0.1.0"
,
!14
Resolve "Make API CORS settings configurable in config settings"
Pipeline
#108130
passed with stages
in 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
api.py
api.py
+0
-1
No files found.
api.py
View file @
c17e6778
...
...
@@ -37,7 +37,6 @@ def create_app():
api
=
Api
(
app
)
api_config
=
get_config
()
logging
.
info
(
str
(
api_config
))
# CORS(app, resources={r"*": {"origins": "http://localhost:8086"}})
CORS
(
app
,
resources
=
api_config
[
"cors"
])
api
.
add_resource
(
ClientList
,
"/client"
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment