Move top-level templates to server module

This commit is contained in:
Tim Van Baak 2020-04-24 17:55:56 -07:00
parent 1ead09cf47
commit 4e0bc56dcd
5 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ def get_app(root: RootConfigDirectoryContext) -> Flask:
with root.read_config() as cfg:
app = Flask(
__name__,
template_folder='../templates',
template_folder='.',
static_folder=cfg.static_root
)
app.secret_key = bytes.fromhex(cfg.secret_key)