chore: front-end
TS Lint / ESLint (push) Successful in 43s
Python Lint CI / ruff-format-check (push) Successful in 53s
Python Lint CI / ruff (push) Successful in 59s
Python Lint CI / ty (push) Successful in 59s
TS Lint / Oxlint (push) Successful in 1m57s
TS Lint / TypeScript (push) Successful in 2m17s

This commit is contained in:
2026-06-30 18:15:14 +02:00
parent 83c8e4415b
commit c92f337006
18 changed files with 1183 additions and 17 deletions
+6 -3
View File
@@ -17,13 +17,16 @@ class Server(gunicorn.app.base.BaseApplication):
self.debug = params.debug
self.workers = params.workers
self.timeout = params.timeout
self.app = flask.Flask(PKG_NAME)
self.app = flask.Flask(
PKG_NAME, static_folder="dist/assets", template_folder="dist"
)
self._index_content: str | None = None
super().__init__()
def register_routes(self) -> typing.Self:
@self.app.route("/")
def hello_world() -> str:
return "<p>Hello, World!</p>"
def index() -> str:
return flask.render_template("index.html")
return self