diff --git a/label_studio/core/settings/base.py b/label_studio/core/settings/base.py index 98e23e9787c2..1760881663cb 100644 --- a/label_studio/core/settings/base.py +++ b/label_studio/core/settings/base.py @@ -102,6 +102,7 @@ match = pattern.match(HOSTNAME) FORCE_SCRIPT_NAME = match.group(3) if FORCE_SCRIPT_NAME: + SESSION_COOKIE_PATH = FORCE_SCRIPT_NAME logger.info('=> Django URL prefix is set to: %s', FORCE_SCRIPT_NAME) FRONTEND_HMR = get_bool_env('FRONTEND_HMR', False)