wip: programme

This commit is contained in:
mco-system
2023-04-10 11:12:26 +11:00
parent 7d9586a6f2
commit a8b8b2615d
4 changed files with 9 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ import logging
from logging import config
import yaml
from flask import Flask, render_template, redirect, request, url_for
from flask_minify import minify
from thsf.backend import Backend
from thsf.schedule import Schedule
from thsf.navbar import Navbar
@@ -23,7 +24,7 @@ class AppConfig:
# ------------------------------------------------------------------------------
logger = logging.getLogger('wsgi')
app = Flask(__name__)
minify(app=app, html=True, js=True, cssless=True)
# ------------------------------------------------------------------------------
# -- Local configuration