.env and test on server.py

This commit is contained in:
victor
2025-01-19 23:26:17 +01:00
parent 331f33286d
commit b87145654a
3 changed files with 12 additions and 6 deletions

View File

@@ -5,11 +5,11 @@ app = create_app()
@app.route('/', methods = ['GET'])
def index():
userId = session.get('userId')
if userId:
return "test"
else:
return "test"
userId = session.get('userId')
if userId:
return "test"
else:
return "test"
if __name__ == "__main__":
app.run(debug=True, port="8080")