You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
queyue-website/next.config.mjs

29 lines
535 B

8 months ago
/** @type {import('next').NextConfig} */
const nextConfig = {
// output: 'export',
// distDir: 'dist',
async rewrites() {
return [
{
source: '/queyueapi/:path*',
destination: `http://api.indie.cn:9012/:path*`,
},
];
},
redirects: async () => {
return [
// {
// source: '/',
// destination: '/download',
// permanent: false,
// },
];
},
eslint: {
ignoreDuringBuilds: true,
ignoreBuildErrors: true,
},
8 months ago
};
export default nextConfig;