google-home / smarthome-local

https://codelabs.developers.google.com/codelabs/smarthome-local
Apache License 2.0
28 stars 17 forks source link

After `firebase deploy` frontend is not hosted #13

Closed unsigned6 closed 3 years ago

unsigned6 commented 3 years ago

I've made step https://codelabs.developers.google.com/codelabs/smarthome-local?hl=en&continue=https%3A%2F%2Fcodelabs.developers.google.com%2F#2

but after firbase deploy does not have frontend deployed. And the output of the command is without hosing link:

✔  functions[faketoken(us-central1)]: Successful update operation.
✔  functions[fakeauth(us-central1)]: Successful update operation.
✔  functions[reportstate(us-central1)]: Successful update operation.
✔  functions[updatestate(us-central1)]: Successful update operation.

✔  Deploy complete!

Project Console: https://console.firebase.google.com/project/smarthome-c40e5/overview

Also when I made this link myself https://smarthome-c40e5.firebaseapp.com/ firebase tells me 'Site Not Found'

unsigned6 commented 3 years ago

Found the reason. Before firbase deploy should be a step to change location from functions to app-start. If you perform deployment from functions it changes firebase.json and deploys only functions.