Skip to content

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

Closed
firebase/superstatic
#308
@ayyash

Description

@ayyash

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

Activity

self-assigned this
on Aug 15, 2022
bkendall

bkendall commented on Oct 19, 2022

@bkendall
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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @bkendall@ayyash

    Issue actions

      Hosting i18n rewrites for 404.html not supported by emulator · Issue #4879 · firebase/firebase-tools