-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Flickering when redirecting on astro website deployed to GitHub Pages #9662
Comments
Hi @gregorobreza , can you provide a reproduction with the source code? |
Hello @gregorobreza. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with |
Sure updated issue description with GithHub repo @ematipico |
I'd be happy to be proved wrong, but I don't think there's really a way to fix this, on GitHub Pages the only way to do a redirect is through a We could maybe allow a custom templates for redirect pages so that people can customize it at least |
Yes, that's how redirects via HTML files work. That's the expected behaviour. Closing. |
Sounds like good material for an improvement :) |
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When configured redirection in
astro.config.mjs
there is a short flickering noticed on live website deployed to GitHub Pages. It works perfectly fine locally.What's the expected result?
Redirections should happen seamlessly same as when developing locally.
Link to Minimal Reproducible Example
Deployed page:
https://gregorobreza.github.io/astro-redirect-issue/
GitHub repo:
https://github.com/gregorobreza/astro-redirect-issue
Participation
The text was updated successfully, but these errors were encountered: