From fe696e5a97a7398279fe69cc9388920f4e7e8d6a Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Mon, 22 May 2023 11:44:55 -0400 Subject: [PATCH] oops --- static/functions/_middleware.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/functions/_middleware.js b/static/functions/_middleware.js index cf8540d..2d152af 100644 --- a/static/functions/_middleware.js +++ b/static/functions/_middleware.js @@ -27,6 +27,9 @@ async function goat_counter_analytics(context) { if (url.searchParams.get('goat-counter-debug') == 'true') { response.headers.set('X-GoatCounter-Payload', JSON.stringify(payload)); } + + // Return the response + return response; } // Chaining