mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
Updated repo path hook
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user