2024-07-10 19:46:08 +08:00
|
|
|
/** @type {import('next').NextConfig} */
|
2024-07-24 18:46:11 +08:00
|
|
|
const nextConfig = {
|
|
|
|
async rewrites() {
|
|
|
|
return [
|
|
|
|
{
|
|
|
|
source: "/api/:path*",
|
2024-10-18 14:16:47 +08:00
|
|
|
destination: "https://api.tiefen.fun/api/:path*",
|
2024-07-24 18:46:11 +08:00
|
|
|
},
|
2024-07-29 19:49:21 +08:00
|
|
|
{
|
|
|
|
source: "/outer/:path*",
|
2024-10-18 14:16:47 +08:00
|
|
|
destination: "https://api.tiefen.fun/outer/:path*",
|
2024-07-29 20:04:44 +08:00
|
|
|
},
|
2025-02-18 15:57:51 +08:00
|
|
|
{
|
|
|
|
source: "/event/:path*",
|
|
|
|
destination: "https://analytics.oceanengine.com/api/:path*",
|
|
|
|
},
|
2024-07-24 18:46:11 +08:00
|
|
|
];
|
|
|
|
},
|
|
|
|
};
|
2024-07-10 19:46:08 +08:00
|
|
|
|
|
|
|
export default nextConfig;
|