|
|
|
|
@ -2,6 +2,7 @@ import typing as t
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
|
|
from flask import Flask
|
|
|
|
|
from flask import render_template
|
|
|
|
|
import werkzeug
|
|
|
|
|
|
|
|
|
|
APPPATH = os.path.dirname(os.path.abspath(__file__))
|
|
|
|
|
@ -27,3 +28,8 @@ def internal_server_error(e: werkzeug.exceptions.HTTPException) -> t.Tuple[t.Tex
|
|
|
|
|
return render_template("500.html", title="Erreur interne du serveur"), 500
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### DEBUG
|
|
|
|
|
@app.route('/')
|
|
|
|
|
@app.route('/index')
|
|
|
|
|
def hello_world():
|
|
|
|
|
return "<p>Hello, World!</p>"
|
|
|
|
|
|