2024-06-24 22:12:13 +08:00
|
|
|
/** @type {import('next').NextConfig} */
|
2024-07-02 15:09:48 +08:00
|
|
|
const nextConfig = {
|
|
|
|
async rewrites() {
|
|
|
|
return [
|
|
|
|
{
|
|
|
|
source: "/api/:path*",
|
2024-08-09 20:13:46 +08:00
|
|
|
destination: "https://testapi.tiefen.fun/api/:path*",
|
2024-07-02 15:09:48 +08:00
|
|
|
},
|
|
|
|
];
|
|
|
|
},
|
|
|
|
transpilePackages: ["crypto-js"],
|
2024-08-05 14:31:37 +08:00
|
|
|
experimental:{
|
|
|
|
missingSuspenseWithCSRBailout: false,
|
|
|
|
}
|
2024-07-02 15:09:48 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = nextConfig;
|
|
|
|
|