Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set $govuk-fonts-path and $govuk-images-path to '/' #4845

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

Nitemaeric
Copy link
Contributor

@Nitemaeric Nitemaeric commented Jan 22, 2025

Context

When re-organising the asset files, it seems the pathset ingovuk_style_setup.scssare relative to the caller. This made all the font and image paths become prefixed with/findor/publish`.

Changes proposed in this pull request

  • Update $govuk-fonts-path and $govuk-images-path both to "/";

Guidance to review

Visit the review app. There should be no console errors.

@Nitemaeric Nitemaeric self-assigned this Jan 22, 2025
@Nitemaeric Nitemaeric added the deploy A Review App will be created for PRs with this label label Jan 22, 2025
@Nitemaeric Nitemaeric marked this pull request as ready for review January 22, 2025 15:51
@Nitemaeric Nitemaeric requested a review from a team as a code owner January 22, 2025 15:51
@Nitemaeric Nitemaeric merged commit 39c1f40 into main Jan 22, 2025
38 checks passed
@Nitemaeric Nitemaeric deleted the dd/fix-govuk-asset-paths branch January 22, 2025 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy A Review App will be created for PRs with this label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants