tiefen_space_h5/next.config.js

16 lines
314 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-07-03 19:59:39 +08:00
destination: "https://testapi.tiefen.fun/api/:path*",
2024-07-02 15:09:48 +08:00
},
];
},
transpilePackages: ["crypto-js"],
};
module.exports = nextConfig;