firebase / firebase/firebase-tools

Display proper URLs when initializing.

Open
#3,728 9 comments 0 reactions 0 assignees View on GitHub
emulator-suite emulators: functions help-wanted type: feature request
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.