Skip to content

Commit 155e90c

Browse files
committed
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.
1 parent cb524c3 commit 155e90c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

configuration/configuration.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,6 @@ def _environ_get_and_map(variable_name: str, default: str | None = None, map_fn:
136136
if 'BANNER_LOGIN' in environ:
137137
BANNER_LOGIN = environ.get('BANNER_LOGIN', None)
138138

139-
# Base URL path if accessing NetBox within a directory. For example, if installed at http://example.com/netbox/, set:
140-
# BASE_PATH = 'netbox/'
141-
BASE_PATH = environ.get('BASE_PATH', '')
142-
143139
# Maximum number of days to retain logged changes. Set to 0 to retain changes indefinitely. (Default: 90)
144140
if 'CHANGELOG_RETENTION' in environ:
145141
CHANGELOG_RETENTION = _environ_get_and_map('CHANGELOG_RETENTION', None, _AS_INT)

0 commit comments

Comments
 (0)