From fe1eb839e6440b6c6c9646835e510368bfb1b8a2 Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Fri, 23 Dec 2022 11:03:30 +0100 Subject: [PATCH] First commit --- wsgi.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 wsgi.py diff --git a/wsgi.py b/wsgi.py new file mode 100644 index 0000000..f0c080c --- /dev/null +++ b/wsgi.py @@ -0,0 +1,7 @@ +import sys +import os + +SITE_ROOT = os.path.dirname(os.path.realpath(__file__)) +sys.path.insert(0,SITE_ROOT + '/app') + +from app import app as application \ No newline at end of file -- GitLab