From 883a7cba581f34eba48978746e2ff8bbb93020d8 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 16 Jun 2023 10:53:08 +0300 Subject: Add `create_app()` application factory Create the application and set up configs and other things within an application factory function. Fix obvious egregious errors preventing the application from starting up correctly. --- wqflask/runserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask/runserver.py') diff --git a/wqflask/runserver.py b/wqflask/runserver.py index 8f01425e..fed3d356 100644 --- a/wqflask/runserver.py +++ b/wqflask/runserver.py @@ -7,7 +7,7 @@ # # /sbin/iptables -A INPUT -p tcp -i eth0 -s ! 71.236.239.43 --dport 5003 -j DROP -from wqflask import app +from gn2_main import app from utility.startup_config import app_config from utility.configuration import get_setting, get_setting_int -- cgit v1.2.3