diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2025-11-06 00:48:00 +0000 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2025-11-06 00:48:00 +0000 |
| commit | 6f1bcc3db2c8ee807b68fa8a47a1a8cb7aabcc48 (patch) | |
| tree | 1c9e920b22a6d7d526b0ecb51cb9d73e61e75823 /wsgi.py | |
| parent | 95ae3c51cf05425baf739919af9938608f62ad64 (diff) | |
Create a create_app helper to be used from wsgi.py
Diffstat (limited to 'wsgi.py')
| -rw-r--r-- | wsgi.py | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,4 +1,4 @@ | |||
| 1 | from halfnarp2 import app | 1 | from halfnarp2 import create_app |
| 2 | 2 | ||
| 3 | if __name__ == "__main__": | 3 | app = create_app("config.json") |
| 4 | app.run(debug=False) | 4 | #app.run(debug=False) |
