From f1ee6d389f0da88f27cc991ba94c02e0a1edfb5d Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 3 Dec 2022 19:17:09 +0200 Subject: [PATCH] fixup! Improve security by restricting the usage of the response. --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 778fa6a..2fe9c57 100644 --- a/app.py +++ b/app.py @@ -12,7 +12,7 @@ app.config["MAX_CONTENT_LENGTH"] = 128 client = docker.from_env() -ALLOWED_ORIGIN = os.getent("ALLOWED_ORIGIN", "https://www.shore.co.il") +ALLOWED_ORIGIN = os.getenv("ALLOWED_ORIGIN", "https://www.shore.co.il") CONTAINER_NAME = os.getenv("NC_CONTAINER", "nextcloud-nextcloud-1") NAME = os.getenv("NC_NAME", "Nimrod Adar") -- GitLab