tiefen_space_h5/next.config.js

19 lines
415 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
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;