tiefen_space_web/next.config.js

19 lines
387 B
JavaScript

/** @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*",
},
];
},
transpilePackages: ["crypto-js"],
};
module.exports = nextConfig;