Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Jan 21, 2022
1 parent 09b6c93 commit 5514169
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ module.exports = {
{ source: '/api/:rest*', destination: '/api-docs/:rest*' },
];
},
// redirects only take effect in the development, not production (because of `next export`).
redirects: async () => {
const redirects = [];
if (process.env.NODE_ENV !== 'production') {
Expand Down

0 comments on commit 5514169

Please sign in to comment.