nitro icon indicating copy to clipboard operation
nitro copied to clipboard

Headers not proxied to sever handler when request made on backend (evaluated as function)

Open issue-up[bot] opened this issue 2 years ago • 1 comments

   Forwarded from downstream issue:

  • https://github.com/nuxt/nuxt/issues/19843 by @oleghalin

Environment


  • Operating System: Darwin
  • Node Version: v16.19.1
  • Nuxt Version: 3.3.1
  • Nitro Version: 2.3.1
  • Package Manager: [email protected]
  • Builder: vite
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

  1. Create any server handler
  2. run useFetch from setup function
  3. no host header passed to nitro handler

Describe the bug

  1. Create any server handler
  2. run useFetch from setup function
  3. no host header passed to nitro handler

Additional context

No response

Logs

No response

issue-up[bot] avatar Apr 14 '23 21:04 issue-up[bot]

it seems nothing change

chenyuncai avatar Apr 26 '24 13:04 chenyuncai

(please raise a new issue with clear reproduction)

pi0 avatar Jan 07 '25 18:01 pi0