summaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
Diffstat (limited to 'run')
-rwxr-xr-xrun6
1 files changed, 5 insertions, 1 deletions
diff --git a/run b/run
index 0d1f411..36edf48 100755
--- a/run
+++ b/run
@@ -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)