removed JS_REVERSE_SCRIPT_PREFIX config variable

This commit is contained in:
vabene1111
2025-07-11 19:04:37 +02:00
parent 1c219dbc3b
commit 5709435d43
3 changed files with 5 additions and 19 deletions

View File

@@ -12,7 +12,7 @@ class ScopeMiddleware:
self.get_response = get_response
def __call__(self, request):
prefix = settings.JS_REVERSE_SCRIPT_PREFIX or ''
prefix = settings.SCRIPT_NAME or ''
# need to disable scopes for writing requests into userpref and enable for loading ?
if request.path.startswith(prefix + '/api/user-preference/'):