mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: implement API response sanitizer and enhance middleware for cross-domain handling
This commit is contained in:
parent
f4b942984c
commit
9bbcb58c79
5 changed files with 284 additions and 4 deletions
|
|
@ -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 />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue