You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run above test function in a new project, once locally in the emulator, and once deployed. Observe the response from each scenario. (see Actual behavior below for a sample)
[REQUIRED] Expected behavior
I expect to have the correct hostname (req.hostname) while running an emulated function through a hosting rewrite.
[REQUIRED] Actual behavior
While in the emulated function the hostname is wrong, the deployed function gets correctly the hostname.
[REQUIRED] Environment info
firebase-tools: 6.10.0
Platform: Arch Linux (Linux nicolas-pc 5.1.3-arch1-1-ARCH #1 SMP PREEMPT Thu May 16 20:59:36 UTC 2019 x86_64 GNU/Linux)
[REQUIRED] Test case
Public repo
[REQUIRED] Steps to reproduce
Run above test function in a new project, once locally in the emulator, and once deployed. Observe the response from each scenario. (see Actual behavior below for a sample)
[REQUIRED] Expected behavior
I expect to have the correct
hostname
(req.hostname
) while running an emulated function through a hosting rewrite.[REQUIRED] Actual behavior
While in the emulated function the
hostname
is wrong, the deployed function gets correctly thehostname
.emulated response
deployed response
The text was updated successfully, but these errors were encountered: