/firebase-hosting-error

Show that function defined in non us region does not work with hosting

Primary LanguageJavaScript

Hosting error

Install

git clone git@github.com:istarkov/firebase-hosting-error.git
cd firebase-hosting-error
yarn

set your project here

run

firebase use {YOUR_PROJECT}
firebase deploy

open https://{YOUR_PROJECT}.firebaseapp.com and you will see an error

Error: Forbidden Your client does not have permission to get URL /helloWorld/ from this server.

If you will remove region so defult will be used, all will be fine.