mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: enhance API request handling and improve type safety in auth layout
This commit is contained in:
parent
78cabbc665
commit
27c8e48578
3 changed files with 59 additions and 5 deletions
|
|
@ -6,6 +6,8 @@ export default function Document() {
|
|||
<Head>
|
||||
{/* Load runtime configuration before any app code */}
|
||||
<script src="/runtime-config.js" />
|
||||
{/* Load API interceptor to enforce correct domain */}
|
||||
<script src="/api-interceptor.js" />
|
||||
</Head>
|
||||
<body>
|
||||
<Main />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue