diff --git a/app/internal/config/autoload/config.global.php b/app/internal/config/autoload/config.global.php index 11640f3eaf..f7d462fd39 100644 --- a/app/internal/config/autoload/config.global.php +++ b/app/internal/config/autoload/config.global.php @@ -79,7 +79,7 @@ ], // Asset path, URI to olcs-static (CSS, JS, etc] *Environment specific* - 'asset_path' => (\Aws\Credentials\CredentialProvider::shouldUseEcs() ? 'https://cdn.%domain%' : '/static/public'), + 'asset_path' => (\Aws\Credentials\CredentialProvider::shouldUseEcs() ? '%assets_url%' : '/static/public'), /** * Configure the location of the application log diff --git a/app/selfserve/config/autoload/config.global.php b/app/selfserve/config/autoload/config.global.php index 4f6a2baf2d..50664228ee 100644 --- a/app/selfserve/config/autoload/config.global.php +++ b/app/selfserve/config/autoload/config.global.php @@ -54,7 +54,8 @@ ], // Asset path, URI to olcs-static (CSS, JS, etc] *Environment specific* - 'asset_path' => (\Aws\Credentials\CredentialProvider::shouldUseEcs() ? 'https://cdn.%domain%' : '/static/public'), + 'asset_path' => (\Aws\Credentials\CredentialProvider::shouldUseEcs() ? '%assets_url%' : '/static/public'), + 'cookie-manager' => [ 'delete-undefined-cookies' => true, 'user-preference-cookie-name' => 'cookie_policy',