Enable CORS from everywhere using flask-cors. (#3316)

Co-authored-by: Leo Sutic <leo.sutic@matterport.com>
This commit is contained in:
Leo Sutic 2020-09-19 11:07:17 +02:00 committed by GitHub
commit cc0bd5213f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 1 deletions

View file

@ -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.