Skip to content

Conversation

@pmelab
Copy link
Contributor

@pmelab pmelab commented Oct 3, 2024

Description of changes

Make sure all redirects have a corresponding redirect for the /RSC directory or return the /RSC/404.txt.

  • redirects created by redirects.ts (campaign urls)
  • redirects returned by drupal, handled in strangler

Motivation and context

When a Waku <Link/> component targets the path /test, it will attempt to load the /RSC/test.txt file. If test is a redirect to /new, this would fail. By creating a redirect from /RSC/test.txt to /RSC/new.txt, the <Link/> component will be able to load the correct file.

How has this been tested?

  • Manually
  • Integration tests

@pmelab pmelab merged commit 37c3f59 into lagoon-waku Oct 26, 2024
6 checks passed
@pmelab pmelab deleted the SLB-469-redirects branch October 26, 2024 04:50
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.

3 participants