Skip to content

Commit 7c98cf9

Browse files
authored
Configure DEFAULT_TENANT with env var (#16)
1 parent 2beb6e9 commit 7c98cf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qwc_services_core/tenant_handler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from .runtime_config import RuntimeConfig
99

1010

11-
DEFAULT_TENANT = 'default'
11+
DEFAULT_TENANT = os.environ.get('DEFAULT_TENANT', 'default')
1212

1313

1414
class TenantHandlerBase:

0 commit comments

Comments
 (0)