tiefen_space_h5/next.config.js

19 lines
381 B
JavaScript
Raw Normal View History

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-05 14:31:37 +08:00
destination: "https://h5api.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;