Unverified Commit c17e6778 authored by Dan Jones's avatar Dan Jones
Browse files

fix: remove commented out static cors config

2 merge requests!23Resolve "Release v0.1.0",!14Resolve "Make API CORS settings configurable in config settings"
Pipeline #108130 passed with stages
in 57 seconds
...@@ -37,7 +37,6 @@ def create_app(): ...@@ -37,7 +37,6 @@ def create_app():
api = Api(app) api = Api(app)
api_config = get_config() api_config = get_config()
logging.info(str(api_config)) logging.info(str(api_config))
# CORS(app, resources={r"*": {"origins": "http://localhost:8086"}})
CORS(app, resources=api_config["cors"]) CORS(app, resources=api_config["cors"])
api.add_resource(ClientList, "/client") api.add_resource(ClientList, "/client")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment