paper-ai-release-24-07-21/next.config.js

21 lines
531 B
JavaScript
Raw Normal View History

2024-01-18 15:46:18 +08:00
/** @type {import('next').NextConfig} */
2024-01-21 23:29:28 +08:00
const nextConfig = {
typescript: {
ignoreBuildErrors: true,
},
2024-01-28 10:37:18 +08:00
// async rewrites() {
// return [
// {
// source: "/api/v1/chat/completions", // 用户访问的路径
// destination: "/api/chat", // 实际上被映射到的路径
// },
// {
// source: "/api/paper", // 另一个用户访问的路径
// destination: "/api/chat", // 同样被映射到 common-route
// },
// ];
// },
2024-01-21 23:29:28 +08:00
};
2024-01-18 15:46:18 +08:00
2024-01-28 10:18:20 +08:00
module.exports = nextConfig;