summaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-08-05 16:26:36 +0300
committerLars Wirzenius <liw@liw.fi>2018-08-05 16:26:36 +0300
commitdfbaf09d68d5596aacef487e2d6c1f4f180d114d (patch)
treef0df46795ed66fe0b7d2539445eb87fa55372084 /run
parent67585afaf4cb67877991ad41d5d85096d586cbf6 (diff)
downloadickweb-dfbaf09d68d5596aacef487e2d6c1f4f180d114d.tar.gz
Change: move everything under /web so paths are unique to ickweb
Diffstat (limited to 'run')
-rwxr-xr-xrun4
1 files changed, 3 insertions, 1 deletions
diff --git a/run b/run
index 36edf48..9eee9e7 100755
--- a/run
+++ b/run
@@ -5,5 +5,7 @@ import sys
import ickweb
controller = sys.argv[1]
+client_secret = sys.argv[2]
our_url = 'http://localhost:8080'
-ickweb.create_app(our_url, controller).run(host='localhost', port=8080)
+app = ickweb.create_app(our_url, controller, client_secret)
+app.run(host='localhost', port=8080)