Source incoming :)

This commit is contained in:
2021-12-12 07:06:51 +00:00
parent 415f50ce1e
commit 907bf2206f
50 changed files with 2918 additions and 0 deletions

16
app.py Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env python3
from fosspay.app import app
from fosspay.config import _cfg, _cfgi, load_config
import os
app.static_folder = os.path.join(os.getcwd(), "static")
import os
import signal
signal.signal(signal.SIGHUP, lambda *args: load_config())
if __name__ == '__main__':
app.run(host=_cfg("debug-host"), port=_cfgi('debug-port'), debug=True)