14 lines
233 B
Python
14 lines
233 B
Python
|
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)
|