update msw file

This commit is contained in:
Jacob Overgaard
2022-09-07 15:58:13 +02:00
parent d02a934efe
commit 255bf4e0ef

View File

@@ -2,7 +2,7 @@
/* tslint:disable */
/**
* Mock Service Worker (0.45.0).
* Mock Service Worker (0.47.0).
* @see https://github.com/mswjs/msw
* - Please do NOT modify this file.
* - Please do NOT serve this file on production.
@@ -200,7 +200,7 @@ async function getResponse(event, client, requestId) {
function passthrough() {
// Clone the request because it might've been already used
// (i.e. its body has been read and sent to the cilent).
// (i.e. its body has been read and sent to the client).
const headers = Object.fromEntries(clonedRequest.headers.entries())
// Remove MSW-specific request headers so the bypassed requests