website/freezer.py

14 lines
233 B
Python
Raw Permalink Normal View History

2021-06-01 23:15:46 +02:00
from flask_frozen import Freezer
from start_site import app
freezer = Freezer(app)
#@freezer.register_generator
#def errorhandler():
# yield "/404"
if __name__ == '__main__':
freezer.freeze()
#freezer.run(debug=True)