Update next.config.js rewrites

This commit is contained in:
samsisle 2021-03-25 17:53:22 -07:00
parent 1afcf67c0f
commit dee70f0237

View file

@ -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`,