Some option to bypass the remapping of localhost #5816
Replies: 3 comments 8 replies
-
Hi there! I'd be open to a PR that implemented that somehow. Perhaps a firebase.json key? It's possible in javascript to get the full contents of the firebase.json, so fetching the JSON then that key (if available) may be used as a conditional in the remapping code? Something like this I think ? |
Beta Was this translation helpful? Give feedback.
-
Yes, a key in the firebase.json would be great. Is there any example when this config is used in JS? |
Beta Was this translation helpful? Give feedback.
-
Hi again! I got the code working with the patches, but it took a lot of time to figure out that the Is this the expected behaviour? |
Beta Was this translation helpful? Give feedback.
-
I came accross a problem with emulators and the way they are handling
localhost
addresses, described here.It's nice that now remapping is logged out, but it would be nicer to bypass this feature with some flag, so I don't have to always reconfigure Host IP when I am connecting to another network.
I would love to see this work with firebase emulators, when running and testing apps on real devices.
Beta Was this translation helpful? Give feedback.
All reactions