KDD-OpenSource / 32de-python

Server component of graph exploration tool with meta-paths

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix CORS origins check

Baschdl opened this issue · comments

Fix check of origin of request to API. In the moment it's a * which isn't super secure:

CORS(app, supports_credentials=True, resources={r"/*": {"origins": "*"}})

Corresponding code was written but doesn't work.