22 lines
474 B
JavaScript
22 lines
474 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: "/api/:path*",
|
|
destination: "https://api.tiefen.fun/api/:path*",
|
|
},
|
|
{
|
|
source: "/outer/:path*",
|
|
destination: "https://api.tiefen.fun/outer/:path*",
|
|
},
|
|
{
|
|
source: "/event/:path*",
|
|
destination: "https://analytics.oceanengine.com/api/:path*",
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|