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*",
destination: "https://api.tiefen.fun/api/:path*",
},
{
source: "/cors/:path*",
destination: "https://file.tiefen.fun/:path*",
},
2024-01-03 01:07:16 +08:00
];
},
transpilePackages: ["crypto-js"],
};
module.exports = nextConfig;