mirror of
https://github.com/armbian/dl-router.git
synced 2026-01-06 10:32:39 -08:00
preparing for container
This commit is contained in:
@@ -40,3 +40,7 @@ def status():
|
||||
@app.route('/<path:path>')
|
||||
def catch_all(path):
|
||||
return redirect(get_redirect(path, "127.0.0.1"), 302)
|
||||
|
||||
if __name__ == "__main__":
|
||||
# Only for debugging while developing
|
||||
app.run(host='0.0.0.0', debug=False, port=80)
|
||||
3
app/uwsgi.ini
Normal file
3
app/uwsgi.ini
Normal file
@@ -0,0 +1,3 @@
|
||||
[uwsgi]
|
||||
module = main
|
||||
callable = app
|
||||
Reference in New Issue
Block a user