Skip to content

Commit

Permalink
Use full base url
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielCliftonGuardian committed Dec 23, 2024
1 parent c46b897 commit f934210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotcom-rendering/src/client/decidePublicPath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ export const decidePublicPath = (): string => {
const isLocalHost = window.location.hostname === 'localhost';
// Use relative path if running locally or in CI
return isDev || isLocalHost
? '/assets/'
? 'http://localhost:3030/assets/'
: `${window.guardian.config.frontendAssetsFullURL}assets/`;
};

0 comments on commit f934210

Please sign in to comment.