10 lines
250 B
Python
10 lines
250 B
Python
import re
|
|
from flask import render_template
|
|
import SETTINGS
|
|
|
|
def web_root(match: re.Match):
|
|
print(match.string)
|
|
return render_template("index.html", flask_name=SETTINGS.FLASK_NAME)
|
|
|
|
ROUTES = {r"^/$": web_root, r"^([A-Za-z0-9/]*)$": web_root}
|