Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
25d016c154
|
|||
39703dca22
|
@ -6,7 +6,13 @@ 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"
|
||||||
|
],
|
||||||
|
supports_credentials=True
|
||||||
|
)
|
||||||
|
|
||||||
# provide the webservice application to uwsgi
|
# provide the webservice application to uwsgi
|
||||||
application = app.app
|
application = app.app
|
||||||
|
Reference in New Issue
Block a user