feat: implement API response sanitizer and enhance middleware for cross-domain handling

This commit is contained in:
WhiteX 2025-06-14 00:52:17 +03:00 committed by rzmk
parent f4b942984c
commit 9bbcb58c79
5 changed files with 284 additions and 4 deletions

View file

@ -10,6 +10,8 @@ export default function Document() {
<script src="/runtime-config.js" strategy="beforeInteractive" />
{/* Load comprehensive API interceptor */}
<script src="/api-interceptor.js" strategy="beforeInteractive" />
{/* Load API response sanitizer */}
<script src="/api-response-sanitizer.js" strategy="beforeInteractive" />
</Head>
<body>
<Main />