Update next.config.js rewrites
This commit is contained in:
parent
1afcf67c0f
commit
dee70f0237
1 changed files with 5 additions and 1 deletions
|
@ -1,8 +1,12 @@
|
|||
const { BLOG_URL } = process.env
|
||||
|
||||
module.exports = {
|
||||
rewrites() {
|
||||
async rewrites() {
|
||||
return [
|
||||
{
|
||||
source: '/:path*',
|
||||
destination: `/:path*`,
|
||||
},
|
||||
{
|
||||
source: '/blog',
|
||||
destination: `${BLOG_URL}/blog`,
|
||||
|
|
Loading…
Reference in a new issue