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

Always set document url field to production GOV.UK #136

Merged
merged 1 commit into from
Dec 6, 2023
Merged

Conversation

csutter
Copy link
Contributor

@csutter csutter commented Dec 6, 2023

This field isn't used by the frontend, but rather serves as a key property in the Discovery Engine schema to allow it to apply "web signals" to influence ranking. We want it to be the production URL even in non-production environments to ensure these environments also pick up those signals.

  • Hardcode production URL prefix for document metadata
  • Remove unnecessary plek gem

This field isn't used by the frontend, but rather serves as a key
property in the Discovery Engine schema to allow it to apply "web
signals" to influence ranking. We want it to be the production URL even
in non-production environments to ensure these environments also pick up
those signals.

- Hardcode production URL prefix for document metadata
- Remove unnecessary `plek` gem
@csutter csutter merged commit 6381386 into main Dec 6, 2023
7 checks passed
@csutter csutter deleted the url-always-prod branch December 6, 2023 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant