netclock/netclock.py

18 lines
440 B
Python
Raw Permalink 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')
2020-09-12 17:51:47 +00:00
from countdown import app as countdown
2020-10-26 10:07:42 +00:00
2020-09-12 17:51:47 +00:00
app.register_blueprint(countdown, url_prefix="/countdown")
2020-09-12 10:58:38 +00:00
from worldclock import app as worldclock
2020-10-26 10:07:42 +00:00
app.register_blueprint(worldclock, url_prefix="/worldclock")
2020-10-26 10:07:42 +00:00
from timezone import app as timezone
app.register_blueprint(timezone, url_prefix="/timezone")