diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-09-03 11:11:31 +0200 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-09-03 11:11:31 +0200 |
commit | 9a1ff86ab7eeb0cf5f21ebe927737a99675e7594 (patch) | |
tree | 902116db935cd060f5f1b73ef7506148a7bf25e9 /main.py | |
parent | dc601ffc21ac54895cb115ee0545cb7fad835c19 (diff) | |
download | web-template-9a1ff86ab7eeb0cf5f21ebe927737a99675e7594.tar web-template-9a1ff86ab7eeb0cf5f21ebe927737a99675e7594.tar.zst web-template-9a1ff86ab7eeb0cf5f21ebe927737a99675e7594.zip |
Add Support for Unix Domain Sockets
Diffstat (limited to 'main.py')
-rwxr-xr-x | main.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -44,5 +44,6 @@ def favicon(): if __name__ == '__main__': - serve(app, listen='*:8080') # production server + serve(app, listen='*:8080') # production server / bind to port + #serve(app, unix_socket='/run/web-template/unix.sock') # production server / unix domain socket #app.run() # debug server - NOT FOR PRODUCTION! |