~sircmpwn/dispatch.sr.ht

ref: dda5fcf7beb571a1e9fbbb987f1b577ac6d0e1a4 dispatch.sr.ht/run.py -rw-r--r-- 296 bytes
dda5fcf7Drew DeVault Fix up .builds/alpine.yml 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
from dispatchsrht.app import app
from srht.config import cfg, cfgi

import os

app.static_folder = os.path.join(os.getcwd(), "static")

if __name__ == '__main__':
    app.run(host=cfg("dispatch.sr.ht", "debug-host"),
            port=cfgi("dispatch.sr.ht", "debug-port"),
            debug=True)