netclock/netclock.py

15 lines
357 B
Python
Raw Normal View History

2020-09-12 10:58:38 +00:00
from flask import Flask
2020-09-13 13:07:11 +00:00
2020-09-12 10:58:38 +00:00
app = Flask(__name__)
2020-09-13 13:07:11 +00:00
app.secret_key = b'_5#y2L"F4Q8z\n\xec]/'
app.config.update(SESSION_COOKIE_SAMESITE='Strict')
import views
2020-09-12 10:58:38 +00:00
2020-09-12 17:51:47 +00:00
from countdown import app as countdown
app.register_blueprint(countdown, url_prefix="/countdown")
2020-09-12 10:58:38 +00:00
from worldclock import app as worldclock
app.register_blueprint(worldclock, url_prefix="/worldclock")