mirror of
https://github.com/ipfs/ipfs-blog.git
synced 2026-06-25 20:42:23 +02:00
fix: set default CANONICAL_BASE
Without this local npm run build fails. Staging build sets it to https://ipfs-blog-staging.on.fleek.co so fine to use production value here – easier to spot bugs.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const { reverse, sortBy } = require('lodash')
|
||||
|
||||
// configure this to an absolute url to enable a generated sitemap & blog RSS feeds
|
||||
const CANONICAL_BASE = process.env.CANONICAL_BASE || ''
|
||||
const CANONICAL_BASE = process.env.CANONICAL_BASE || 'https://blog.ipfs.tech'
|
||||
const IPFS_DEPLOY = process.env.IPFS_DEPLOY === 'true' || false
|
||||
const SPEEDCURVE_ID = process.env.SPEEDCURVE_ID || ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user