From 81bcacb094ed80c3948839b791aa00a20b7dd7c7 Mon Sep 17 00:00:00 2001 From: Francisco Santos Date: Mon, 24 Dec 2018 02:47:52 -0200 Subject: [PATCH] fix: fixes pathPrefix --- gatsby-config.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gatsby-config.js b/gatsby-config.js index 4b706649..e63aa65e 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -7,6 +7,7 @@ module.exports = { author: config.authorName, ...config }, + pathPrefix: config.pathPrefix, plugins: [ `gatsby-plugin-react-helmet`, `gatsby-transformer-sharp`, diff --git a/package.json b/package.json index 2d348a98..8ecb7c51 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "build": "gatsby build", "develop": "gatsby develop", "start": "npm run develop", - "deploy": "gatsby build --prefix-paths && gh-pages -d public -b gh-pages", + "deploy": "gatsby build --prefix-paths && gh-pages -d public", "format": "prettier --write \"src/**/*.js\"", "test": "echo \"Write tests! -> https://gatsby.app/unit-testing\"" },