From 369aae3b39e4d12066c99d73d1b0c11d7b47a5eb Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Thu, 23 Jan 2025 16:26:21 +0000 Subject: [PATCH] Updated repo path hook --- src/hooks.server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks.server.js b/src/hooks.server.js index 3f23a95..aaec6e5 100644 --- a/src/hooks.server.js +++ b/src/hooks.server.js @@ -1,6 +1,6 @@ export const handle = async ({ event, resolve }) => { // Paths to be handled by proxy - const proxyPaths = ["repo"]; + const proxyPaths = ["/repo"]; if (proxyPaths.some(path => event.url.pathname.startsWith(path))) { // Return empty response, letting proxy handle it