Skip to content

Fix dynamic redirect route#2329

Merged
delucis merged 1 commit into
mainfrom
chris/fix-glob
Jan 9, 2023
Merged

Fix dynamic redirect route#2329
delucis merged 1 commit into
mainfrom
chris/fix-glob

Conversation

@delucis
Copy link
Copy Markdown
Member

@delucis delucis commented Jan 9, 2023

What kind of changes does this PR include?

  • Minor content fixes (broken links, typos, etc.)

Description

While updating an Astro.glob() call as part of #2133, I messed up one of the patterns so that a dynamic route we use to redirect from routes like /reference/configuration-reference to /en/reference/configuration-reference wasn’t working properly. Noticed it today after spotting an increase in docs 404s since #2133 merged. This PR fixes the glob pattern.

@delucis delucis self-assigned this Jan 9, 2023
@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 9, 2023

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit bd11dcf
🔍 Latest deploy log https://app.netlify.com/sites/astro-docs-2/deploys/63bc5fd1c1c60900089d8584
😎 Deploy Preview https://deploy-preview-2329--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Copy Markdown
Member

@yanthomasdev yanthomasdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, LGTM!

@delucis delucis merged commit aa7e4f5 into main Jan 9, 2023
@delucis delucis deleted the chris/fix-glob branch January 9, 2023 19:04
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.

2 participants