Skip to content

Commit

Permalink
feat: point to assets CDN if on ECS (dvsa/olcs-selfserve#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielg2020 authored May 21, 2024
1 parent 90097f9 commit 27ae5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/selfserve/config/autoload/config.global.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
],

// Asset path, URI to olcs-static (CSS, JS, etc] *Environment specific*
'asset_path' => '/static/public',
'asset_path' => (\Aws\Credentials\CredentialProvider::shouldUseEcs() ? 'https://cdn.%domain%' : '/static/public'),
'cookie-manager' => [
'delete-undefined-cookies' => true,
'user-preference-cookie-name' => 'cookie_policy',
Expand Down

0 comments on commit 27ae5fc

Please sign in to comment.