From 6365f149ae3e1daa0f9b0ffd223180935d8bcc88 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 12 Jan 2014 18:59:35 +0100 Subject: Uses the host address and port number specified in the configuration file. --- runserver.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'runserver.py') 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) -- cgit