From 55a0508a3c9668edf8c648015b62cfb56fc5756a Mon Sep 17 00:00:00 2001
From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de>
Date: Sun, 23 Feb 2020 23:39:36 +0100
Subject: [PATCH] Fix meckerkasten mountpoint and imports

---
 uwsgi-python/templates/apps/meckerkasten.j2 | 2 ++
 uwsgi-python/vars/meckerkasten.yml          | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/uwsgi-python/templates/apps/meckerkasten.j2 b/uwsgi-python/templates/apps/meckerkasten.j2
index 62af39c..991cdfc 100644
--- a/uwsgi-python/templates/apps/meckerkasten.j2
+++ b/uwsgi-python/templates/apps/meckerkasten.j2
@@ -1,3 +1,5 @@
+from secret_config import secret_key as SECRET_KEY
+
 SESSION_COOKIE_SECURE = False
 
 MAIL_SERVER = "{{meckerkasten_mail_host}}"
diff --git a/uwsgi-python/vars/meckerkasten.yml b/uwsgi-python/vars/meckerkasten.yml
index 614e472..94da180 100644
--- a/uwsgi-python/vars/meckerkasten.yml
+++ b/uwsgi-python/vars/meckerkasten.yml
@@ -10,7 +10,7 @@ app_venv: /var/www/meckerkasten/venv
 app_program: meckerkasten.py
 app_callable: app
 app_command: ""
-app_mountpoint: /
+app_mountpoint: /meckerkasten
 app_mules: 0
 app_enable_threads: false
 app_uwsgi_options: []
-- 
GitLab