From f9e37401506ce95f0b9817c6c4505d7c0358d74a Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Tue, 27 Dec 2022 17:42:58 +0100 Subject: [PATCH] main.py - added env variable for "INSTANCE_REF" --- app/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index ea26f64..4b04b69 100644 --- a/app/main.py +++ b/app/main.py @@ -52,8 +52,8 @@ LEASE_EXPIRE_DELTA = relativedelta(days=int(getenv('LEASE_EXPIRE_DAYS', 90))) DLS_URL = str(getenv('DLS_URL', 'localhost')) DLS_PORT = int(getenv('DLS_PORT', '443')) -SITE_KEY_XID = getenv('SITE_KEY_XID', '00000000-0000-0000-0000-000000000000') -INSTANCE_REF = '00000000-0000-0000-0000-000000000000' +SITE_KEY_XID = str(getenv('SITE_KEY_XID', '00000000-0000-0000-0000-000000000000')) +INSTANCE_REF = str(getenv('INSTANCE_REF', '00000000-0000-0000-0000-000000000000')) INSTANCE_KEY_RSA = load_key(join(dirname(__file__), 'cert/instance.private.pem')) INSTANCE_KEY_PUB = load_key(join(dirname(__file__), 'cert/instance.public.pem'))