aboutsummaryrefslogtreecommitdiff
path: root/runserver.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-01-12 18:59:35 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-01-12 18:59:35 +0100
commit6365f149ae3e1daa0f9b0ffd223180935d8bcc88 (patch)
treee9bf0dbe9438686f60f93283de825046f9dae2a5 /runserver.py
parentDisplay the number of unread articles in the Browser tab title. (diff)
downloadnewspipe-6365f149ae3e1daa0f9b0ffd223180935d8bcc88.tar.gz
newspipe-6365f149ae3e1daa0f9b0ffd223180935d8bcc88.tar.bz2
newspipe-6365f149ae3e1daa0f9b0ffd223180935d8bcc88.zip
Uses the host address and port number specified in the configuration file.
Diffstat (limited to 'runserver.py')
-rw-r--r--runserver.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/runserver.py b/runserver.py
index d0bf9822..b9a10dd7 100644
--- a/runserver.py
+++ b/runserver.py
@@ -1,6 +1,8 @@
#! /usr/bin/env python
# -*- coding: utf-8 -*-
+import conf
from pyaggr3g470r import app
-app.run(host='0.0.0.0', debug=True) \ No newline at end of file
+app.run(host=conf.WEBSERVER_HOST, port=conf.WEBSERVER_PORT, \
+ debug=conf.WEBSERVER_DEBUG)
bgstack15