|
@@ -17,6 +17,7 @@ from lodel import buildconf
|
17
|
17
|
logging.basicConfig(level=logging.INFO)
|
18
|
18
|
|
19
|
19
|
INSTANCES_ABSPATH="/tmp/lodel2_instances"
|
|
20
|
+LODEL2_INSTALLDIR="/usr/lib/python3/dist-packages"
|
20
|
21
|
CONFFILE='conf.d/lodel2.ini'
|
21
|
22
|
try:
|
22
|
23
|
STORE_FILE = os.path.join("[@]SLIM_VAR_DIR[@]", 'slim_instances.json')
|
|
@@ -396,7 +397,7 @@ server {
|
396
|
397
|
include uwsgi_params;
|
397
|
398
|
|
398
|
399
|
location /static/ {
|
399
|
|
- alias /lodel2/plugins/webui/templates/;
|
|
400
|
+ alias """ + LODEL2_INSTALLDIR + """/lodel/plugins/webui/templates/;
|
400
|
401
|
}
|
401
|
402
|
|
402
|
403
|
"""
|