Changes to make deployment path configureable with prefix by ENV

This commit is contained in:
Tobias Stein
2019-06-24 11:00:44 +02:00
parent 1c3f34aa6e
commit f26fe29012
6 changed files with 20 additions and 7 deletions
+3
View File
@@ -114,6 +114,9 @@ def main():
)
logging.getLogger("werkzeug").setLevel(logging.WARNING)
log = logging.getLogger('novnc2')
app.config["APPLICATION_ROOT"] = os.getenv("PREFIX_PATH")
entrypoint()