summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-08-05 17:00:54 +0300
committerLars Wirzenius <liw@liw.fi>2018-08-05 17:00:54 +0300
commit8dc9fb488c4afc556a25100bf2912bf601704ac4 (patch)
treeccba5e3895211def30c969a2c07a0cc63932c66d
parent9dda5e5980a5ca388a794563b3b6dcae89ffbf58 (diff)
downloadickweb-8dc9fb488c4afc556a25100bf2912bf601704ac4.tar.gz
Fix: our url in ./run
-rwxr-xr-xrun2
1 files changed, 1 insertions, 1 deletions
diff --git a/run b/run
index 62b994a..c252f99 100755
--- a/run
+++ b/run
@@ -11,6 +11,6 @@ port = int(sys.argv[3])
with open(client_secret_filename) as f:
client_secret = f.readline().strip()
-our_url = 'http://localhost:{}'.format(port)
+our_url = '{}/web'.format(controller)
app = ickweb.create_app(our_url, controller, client_secret)
app.run(host='localhost', port=port)