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-08-05 13:10:33 +08:00
|
|
|
destination: "https://api.tiefen.fun/api/:path*",
|
2024-07-02 15:09:48 +08:00
|
|
|
},
|
|
|
|
];
|
|
|
|
},
|
|
|
|
transpilePackages: ["crypto-js"],
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = nextConfig;
|
|
|
|
|