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

Hosting i18n rewrites for 404.html not supported by emulator #4879

Closed
ayyash opened this issue Aug 12, 2022 · 1 comment · Fixed by firebase/superstatic#308 or #5389
Closed

Hosting i18n rewrites for 404.html not supported by emulator #4879

ayyash opened this issue Aug 12, 2022 · 1 comment · Fixed by firebase/superstatic#308 or #5389
Assignees

Comments

@ayyash
Copy link

ayyash commented Aug 12, 2022

Running firebase emulators:start in local folder, with i18n rewrites, following the example found in this document: https://firebase.google.com/docs/hosting/i18n-rewrites#priority-order-example

Browsing to localhost:5000/
Changed cookie to fr -> displays the correct fr/index.html

Browsing to localhost:5000/awesome-page.html
Expected behavior
I expect the version under /fr/404.html to be served.
Instead, only the root 404.html is served.

  • OS: Windows 11
  • Browser Chrome
  • Version 11.6.0

Note: I did not try to deploy to see the behavior live

@christhompsongoogle christhompsongoogle transferred this issue from firebase/firebase-tools-ui Aug 15, 2022
@bkendall bkendall self-assigned this Aug 15, 2022
@bkendall bkendall reopened this Aug 17, 2022
@bkendall
Copy link
Contributor

This should be fixed, but we're seeing issues with the emulator on Windows, so we're working to verify and address. Stay tuned!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants