Skip to content

Commit

Permalink
fix: replace UPSTREAM origin in non-js body responses
Browse files Browse the repository at this point in the history
  • Loading branch information
esroyo committed Mar 3, 2024
1 parent c7b0423 commit cafbed6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/create-request-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ export function createRequestHandler(
await toSystemjs(body, { banner: OUTPUT_BANNER }),
);
performance.measure('build', 'build');
} else {
body = replaceOrigin(body);
}
const response = await createFinalResponse(
{
Expand Down

0 comments on commit cafbed6

Please # to comment.