diff options
Diffstat (limited to 'next.config.js')
-rw-r--r-- | next.config.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/next.config.js b/next.config.js new file mode 100644 index 0000000..e70331f --- /dev/null +++ b/next.config.js @@ -0,0 +1,10 @@ +module.exports = { + async rewrites() { + return [ + { + source: '/api/:path*', + destination: 'http://localhost:5000/:path*' + }, + ] + }, +} |