Enable CORS from everywhere using flask-cors. (#3316)
Co-authored-by: Leo Sutic <leo.sutic@matterport.com>
This commit is contained in:
parent
94543f6e48
commit
cc0bd5213f
4 changed files with 32 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -99,7 +99,7 @@ all_extra_deps = [
|
|||
_dep_sshpubkeys_py2,
|
||||
_dep_sshpubkeys_py3,
|
||||
]
|
||||
all_server_deps = all_extra_deps + ['flask']
|
||||
all_server_deps = all_extra_deps + ['flask', 'flask-cors']
|
||||
|
||||
# TODO: do we want to add ALL services here?
|
||||
# i.e. even those without extra dependencies.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue