tiefen_space_h5/next.config.js

19 lines
415 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 = {
2024-09-09 13:12:59 +08:00
async rewrites() {
return [
{
source: "/api/:path*",
destination: "https://h5api.tiefen.fun/api/:path*",
// destination: "https://testapi.tiefen.fun/api/:path*",
},
];
},
transpilePackages: ["crypto-js"],
experimental: {
missingSuspenseWithCSRBailout: false,
},
};
module.exports = nextConfig;