migrating to react and nextjs
This commit is contained in:
16
mta-sign-ui/next.config.js
Normal file
16
mta-sign-ui/next.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
// rewrites: async () => {
|
||||
// return [
|
||||
// {
|
||||
// source: '/api/:path*',
|
||||
// destination:
|
||||
// process.env.NODE_ENV === 'development'
|
||||
// ? 'http://127.0.0.1:8000/api/:path*'
|
||||
// : '/api/',
|
||||
// },
|
||||
// ]
|
||||
// },
|
||||
}
|
||||
|
||||
module.exports = nextConfig
|
||||
Reference in New Issue
Block a user