Correction de bugs

This commit is contained in:
2022-08-22 05:34:56 +02:00
parent f5cd7021c5
commit 4bb19ff8a9
4 changed files with 41 additions and 24 deletions

View File

@@ -30,11 +30,6 @@ if init_dir():
print ("Le repertoire des utilisateurs a été créer")
# Set the secret key. Keep this really secret
#app.secret_key = 'klfkdlfkdslfkln234325;cx!' # Chiffre les cookies si j'ai bien capté.
# À générer aléatoirement impérativement avant de mettre en ligne.
#### Variables ####################################################################################
@@ -81,9 +76,8 @@ def create_app():
app.register_blueprint(logs)
app.register_blueprint(loginlogout)
app.register_blueprint(mygallery)
return app
if __name__ == '__main__' :
hostname=gethostname()
app.run(host='127.0.0.1', port=8080, debug=False)
app.run(host='127.0.0.1', port=8000, debug=False)