This commit is contained in:
Wolfgang Hottgenroth 2021-09-11 18:44:43 +02:00
parent c06184d1b1
commit 39703dca22
Signed by: wn
GPG Key ID: E49AF3B9EF6DD469

View File

@ -6,7 +6,10 @@ app = connexion.App(__name__)
app.add_api('openapi.yaml')
# 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
application = app.app