WebHost: Move module into WebHostLib to prevent shadowing WebHost.py

This commit is contained in:
Berserker66
2020-07-11 16:59:37 +02:00
parent b06f528f72
commit cdee9e5a3a
18 changed files with 10 additions and 10 deletions

8
WebHostLib/landing.py Normal file
View File

@@ -0,0 +1,8 @@
from flask import render_template
from WebHostLib import app, cache
@cache.memoize(timeout=300)
@app.route('/', methods=['GET', 'POST'])
def landing():
return render_template("landing.html")