From 0b30d40ea000de3cdcabfe3cabbaacd0f18ab866 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Mon, 15 Aug 2022 23:45:37 +0200 Subject: [PATCH] fix: set default CANONICAL_BASE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- src/.vuepress/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/.vuepress/config.js b/src/.vuepress/config.js index c0089b3f..d28d24ad 100644 --- a/src/.vuepress/config.js +++ b/src/.vuepress/config.js @@ -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 || ''