1 Commits
0.0.6 ... 0.0.7

Author SHA1 Message Date
39703dca22 cors 2021-09-11 18:44:43 +02:00

View File

@ -6,7 +6,10 @@ app = connexion.App(__name__)
app.add_api('openapi.yaml') app.add_api('openapi.yaml')
# CORSify it - otherwise Angular won't accept it # CORSify it - otherwise Angular won't accept it
CORS(app.app) CORS(app.app, origins=[
"http://localhost:4200",
"https://base.hv.nober.de"
])
# provide the webservice application to uwsgi # provide the webservice application to uwsgi
application = app.app application = app.app