Aggiunta link pagina Web UI in index

This commit is contained in:
2026-03-03 11:39:47 +01:00
parent fef6f7f015
commit f273daefc5

4
app.py
View File

@@ -12,8 +12,8 @@ app = Flask(__name__)
@app.route("/", methods=["GET"])
def home():
html = "<h1>Home page API REST Compiti</h1><h2>ciao, 3cx merda</h2>"
html += "<a href=\"/doc\">Documentazione</a>"
html = "<h1>Home page API REST Compiti</h1>"
html += "<a href=\"/ui\">Apri interfaccia web</a><br><a href=\"/doc\">Documentazione</a>"
return html, 200
@app.route("/doc", methods=["GET"])