| Server IP : 159.203.156.69 / Your IP : 216.73.217.172 Web Server : nginx/1.24.0 System : Linux main-ubuntu 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/tanviranik.com/node_modules/vinext/dist/shims/ |
Upload File : |
//#region src/shims/config.d.ts
/**
* next/config shim
*
* Provides runtime config support (publicRuntimeConfig / serverRuntimeConfig)
* from next.config.js. Note: next/config was removed in Next.js 16, but many
* apps still use it. This shim keeps them working during migration.
*
* Usage in apps:
* import getConfig from "next/config";
* const { publicRuntimeConfig, serverRuntimeConfig } = getConfig();
*/
type RuntimeConfig = {
serverRuntimeConfig: Record<string, unknown>;
publicRuntimeConfig: Record<string, unknown>;
};
/**
* Set the runtime config. Called during app bootstrap (by the plugin)
* with values from next.config.js.
*/
declare function setConfig(configValue: RuntimeConfig): void;
/**
* Get the current runtime config.
* Default export — matches `import getConfig from "next/config"`.
*/
declare function getConfig(): RuntimeConfig;
//#endregion
export { getConfig as default, setConfig };
//# sourceMappingURL=config.d.ts.map