Skip to content

Commit

Permalink
Merge pull request #5 from Moesif/matthewoates-patch-1
Browse files Browse the repository at this point in the history
Update MoesifWorker.js
  • Loading branch information
dgilling authored Mar 26, 2019
2 parents 324f36d + b185720 commit 38fd23e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions MoesifWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,6 @@ async function handleRequest(event) {
if (!disableTransactionId) {
const responseClone = new Response(response.body, response);

responseClone.headers.set('x-my-header', 'custom value')
responseClone.headers.set(TRANSACTION_ID_HEADER, txId);

return responseClone;
Expand All @@ -408,4 +407,4 @@ addEventListener('fetch', event => {
event.passThroughOnException();

event.respondWith(handleRequest(event));
});
});

0 comments on commit 38fd23e

Please sign in to comment.