2017-07-22 03:00:00 +02:00
|
|
|
from todosrht.app import app
|
|
|
|
from srht.config import cfg, cfgi
|
|
|
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
app.static_folder = os.path.join(os.getcwd(), "static")
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2018-09-03 00:07:34 +02:00
|
|
|
app.run(host=cfg("todo.sr.ht", "debug-host"),
|
|
|
|
port=cfgi("todo.sr.ht", "debug-port"),
|
2017-07-22 03:00:00 +02:00
|
|
|
debug=True)
|