2 Commits
0.0.4 ... 0.0.6

Author SHA1 Message Date
da06065959 enable ui 2021-01-27 12:06:21 +01:00
fe007cbfe7 forgotten fix 2021-01-27 11:02:19 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ try:
cur = conn.cursor() cur = conn.cursor()
cur.execute(""" cur.execute("""
INSERT INTO users (login, password) INSERT INTO users (login, pwhash)
VALUES(?, ?) VALUES(?, ?)
""", [user, pwhash]) """, [user, pwhash])
cur.execute(""" cur.execute("""

View File

@ -3,7 +3,7 @@ from flask_cors import CORS
# instantiate the webservice # instantiate the webservice
app = connexion.App(__name__) app = connexion.App(__name__)
app.add_api('openapi.yaml', options = {"swagger_ui": False}) app.add_api('openapi.yaml', options = {"swagger_ui": True})
# CORSify it - otherwise Angular won't accept it # CORSify it - otherwise Angular won't accept it
CORS(app.app) CORS(app.app)