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:
Marcin Rataj
2022-08-15 23:45:37 +02:00
parent 64a0c32c83
commit 0b30d40ea0
+1 -1
View File
@@ -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 || ''