23 lines
504 B
JavaScript
23 lines
504 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*",
|
|
},
|
|
{
|
|
source: "/cdn/:path*",
|
|
destination: "https://filecdnhw01.tiefen.fun/public/:path*",
|
|
},
|
|
];
|
|
},
|
|
transpilePackages: ["crypto-js"],
|
|
};
|
|
|
|
module.exports = nextConfig;
|