Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
0.0
bulaienaofutuojiesenzhangc6181284b81b
diff --git a/next.config.mjs b/next.config.mjsindex ccd12fda..e929a60f 100644--- a/next.config.mjs+++ b/next.config.mjs@@ -18,16 +18,14 @@ const nextConfig = {},output: 'standalone',productionBrowserSourceMaps: process.env.NEXT_PUBLIC_EVN === 'dev',- rewrites: async () => {- if (process.env.NEXT_PUBLIC_EVN === 'local') {- return [- {- source: `/api/:path*`,- destination: "http://127.0.0.1:8000/api/:path*",- },- ];- }- },+ // rewrites: async () => ({+ // beforeFiles: [+ // {+ // source: `/api/:path*`,+ // destination: "http://127.0.0.1:8000/api/:path*",+ // },+ // ],+ // }),};const CorsHeaders = [