firebase-tools icon indicating copy to clipboard operation
firebase-tools copied to clipboard

Hosting i18n rewrites for 404.html not supported by emulator

Open ayyash opened this issue 3 years ago • 0 comments

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

ayyash avatar Aug 12 '22 11:08 ayyash