diff options
Diffstat (limited to 'wqflask/runserver.py')
-rw-r--r-- | wqflask/runserver.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wqflask/runserver.py b/wqflask/runserver.py index 9339acf8..12ec904e 100644 --- a/wqflask/runserver.py +++ b/wqflask/runserver.py @@ -16,9 +16,11 @@ GREEN = '\033[92m' BOLD = '\033[1m' ENDC = '\033[0m' - logger.info("GN2 is running. Visit %shttp://localhost:5003/%s" % (BLUE,ENDC)) +import os +app.config['SECRET_KEY'] = os.urandom(24) + from utility.tools import WEBSERVER_MODE werkzeug_logger = logging.getLogger('werkzeug') |