cors
This commit is contained in:
parent
c06184d1b1
commit
39703dca22
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user