mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
WebHost: Move module into WebHostLib to prevent shadowing WebHost.py
This commit is contained in:
8
WebHostLib/landing.py
Normal file
8
WebHostLib/landing.py
Normal 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")
|
Reference in New Issue
Block a user