From b7502b826cc1231b5bc6608c8cb4cd72877450fa Mon Sep 17 00:00:00 2001 From: Randy Date: Mon, 14 Oct 2024 18:15:28 +0800 Subject: [PATCH] update --- next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index cf1de0a6..c48574f6 100644 --- a/next.config.js +++ b/next.config.js @@ -2,7 +2,7 @@ module.exports = { headers() { return [ { - source: "/js/*", + source: "/js/:path*", headers: [ { key: "Access-Control-Allow-Origin", value: "*" }, ]