diff --git a/backend/config/main.php b/backend/config/main.php index b4b7f87..80ae1ab 100644 --- a/backend/config/main.php +++ b/backend/config/main.php @@ -44,6 +44,7 @@ return [ ], 'components' => [ 'request' => [ + 'baseUrl' => '', 'csrfParam' => '_csrf-backend', 'cookieValidationKey' => $params['cookieValidationKey'], ], diff --git a/frontend/config/main.php b/frontend/config/main.php index 27e631d..cd2679f 100644 --- a/frontend/config/main.php +++ b/frontend/config/main.php @@ -22,6 +22,7 @@ return [ 'controllerNamespace' => 'frontend\controllers', 'components' => [ 'request' => [ + 'baseUrl' => '', 'csrfParam' => '_csrf-frontend', 'cookieValidationKey' => $params['cookieValidationKey'], ],