feat: implement runtime configuration and API client enhancements

This commit is contained in:
WhiteX 2025-06-13 20:45:52 +03:00 committed by rzmk
parent 4663256eed
commit 78cabbc665
6 changed files with 225 additions and 4 deletions

View file

@ -0,0 +1,16 @@
import { Html, Head, Main, NextScript } from 'next/document';
export default function Document() {
return (
<Html lang="en">
<Head>
{/* Load runtime configuration before any app code */}
<script src="/runtime-config.js" />
</Head>
<body>
<Main />
<NextScript />
</body>
</Html>
);
}