firebase / firebase/firebase-tools
Display proper URLs when initializing.
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.3k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 84
Description
Hello,
Whenever I run my cloud functions code on my machine, all functions that I have created get logged in the terminal. However, HTTPS request functions will show the URL to that function. That URL that gets shown is not correct. I would need to always switch the "0.0.0.0" with "localhost" for the URL to work.
It would be great for convenience that the URL directly shows localhost so that I can just click on it and open it.
e.g.
What gets logged:
`+ functions[us-central1-testHTTPSFunction]: http function initialized (http://0.0.0.0:5001/my_app-id/us-central1/testHTTPSFunction).`
What should be logged instead:
`+ functions[us-central1-testHTTPSFunction]: http function initialized (http://localhost:5001/my_app-id/us-central1/testHTTPSFunction).`
Contributor guide
Assessment
This issue has not been assessed yet.