From 155e90c99fc3743dab2ae9d9a5f105b66ca946fa Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Tue, 18 Apr 2023 14:15:27 +0200 Subject: [PATCH] Removed BASE_PATH from configuration Setting the BASE_PATH is a more involved process than just setting this variable. To prevent surprises the option to set this via ENV variable was removed. --- configuration/configuration.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/configuration/configuration.py b/configuration/configuration.py index 9dcd182..5185735 100644 --- a/configuration/configuration.py +++ b/configuration/configuration.py @@ -136,10 +136,6 @@ if 'BANNER_BOTTOM' in environ: if 'BANNER_LOGIN' in environ: BANNER_LOGIN = environ.get('BANNER_LOGIN', None) -# Base URL path if accessing NetBox within a directory. For example, if installed at http://example.com/netbox/, set: -# BASE_PATH = 'netbox/' -BASE_PATH = environ.get('BASE_PATH', '') - # Maximum number of days to retain logged changes. Set to 0 to retain changes indefinitely. (Default: 90) if 'CHANGELOG_RETENTION' in environ: CHANGELOG_RETENTION = _environ_get_and_map('CHANGELOG_RETENTION', None, _AS_INT)