Skip to content

Instantly share code, notes, and snippets.

@marcusglowe
marcusglowe / next.config.js
Created November 2, 2023 15:16
next config for ghost blog hosted at <url>/blog
const BLOG_URL = process.env.BLOG_URL ?? 'https://createxyz.ghost.io/blog';
/**
* @type {import('next').NextConfig}
*/
const nextConfig = {
rewrites() {
return [
{
source: '/blog/:path*',
has: [