@analogjs/vite-plugin-nitro 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -12,7 +12,10 @@ export default eventHandler(async (event) => {
|
|
|
12
12
|
// and can render the XML correctly as a static asset
|
|
13
13
|
!event.node.req.url?.endsWith('.xml')
|
|
14
14
|
) {
|
|
15
|
-
return $fetch(reqUrl, {
|
|
15
|
+
return $fetch(reqUrl, {
|
|
16
|
+
headers: event.node.req.headers,
|
|
17
|
+
context: event.context,
|
|
18
|
+
});
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
return proxyRequest(event, reqUrl, {
|