tiefen_space_web/next.config.js

19 lines
387 B
JavaScript
Raw Normal View History

2024-01-03 01:07:16 +08:00
/** @type {import('next').NextConfig} */
const nextConfig = {
async rewrites() {
return [
{
source: "/api/:path*",
2024-05-07 19:33:43 +08:00
destination: "https://api.wishpal.cn/api/:path*",
2024-01-03 01:07:16 +08:00
},
{
source: "/cors/:path*",
destination: "https://file.tiefen.fun/:path*",
},
2024-01-03 01:07:16 +08:00
];
},
transpilePackages: ["crypto-js"],
};
module.exports = nextConfig;