From 1fcf7298ac6a07d026a0727e34c2d43e32408a95 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 10 Nov 2019 17:57:20 +0200 Subject: [PATCH] docs: fix gatsby's `pathPrefix` It needs to be a relative path. --- docs/gatsby-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/gatsby-config.js b/docs/gatsby-config.js index b899bb0c5ae0e..f4a02b66d3d37 100644 --- a/docs/gatsby-config.js +++ b/docs/gatsby-config.js @@ -1,5 +1,5 @@ module.exports = { - pathPrefix: `${__dirname}/public`, + pathPrefix: './public', siteMetadata: { title: 'npm cli documentation', description: 'Documentation for the npm cli.',