Skip to content

Commit 5aeb97d

Browse files
committed
回退
1 parent e359eb8 commit 5aeb97d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

next.config.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
const nextConfig = {
33
reactStrictMode: true,
44
output: 'standalone',
5+
async rewrites() {
6+
return [
7+
{
8+
source: "/proxy/:slug*",
9+
destination: "https://api.openai.com/:slug*",
10+
},
11+
];
12+
}
513
}
614

7-
module.exports = nextConfig
15+
module.exports = nextConfig

0 commit comments

Comments
 (0)