From ee009d0613f06ac44aabac402e3020617af60023 Mon Sep 17 00:00:00 2001 From: zhw <116932167+coderz-w@users.noreply.github.com> Date: Tue, 29 Oct 2024 15:24:00 +0800 Subject: [PATCH] fix: nextconfig (#131) --- next.config.mjs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/next.config.mjs b/next.config.mjs index 533f17b..fc4994c 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -35,6 +35,15 @@ const nextConfig = { }, ], }, + { + source: '/cooperation/:slug*', + headers: [ + { + key: 'Cross-Origin-Embedder-Policy', + value: 'unsafe-none', + }, + ], + }, ]; }, };