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

23 lines
403 B

/** @type {import('next').NextConfig} */
const nextConfig = {
async rewrites() {
return [
{
source: '/api/:path*',
destination: `${process.env.NEXT_PUBLIC_HOST}/:path*`,
},
];
},
redirects: async () => {
return [
{
source: '/',
destination: '/vol/list/all',
permanent: true,
},
];
},
};
export default nextConfig;