diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-08-05 13:13:03 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-08-05 13:13:03 +0300 |
commit | 67585afaf4cb67877991ad41d5d85096d586cbf6 (patch) | |
tree | 5589c6cea14e149887f2aa38d0c657df45a4b467 /run | |
parent | a46a46858072db5f5ca5a5ae3df203de545c26d0 (diff) | |
download | ickweb-67585afaf4cb67877991ad41d5d85096d586cbf6.tar.gz |
Change: parameterise, work with current Qvisqve
Diffstat (limited to 'run')
-rwxr-xr-x | run | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,9 @@ #!/usr/bin/env python3 +import sys + import ickweb -ickweb.create_app().run(host='localhost', port=8080) +controller = sys.argv[1] +our_url = 'http://localhost:8080' +ickweb.create_app(our_url, controller).run(host='localhost', port=8080) |