Skip to content

Commit

Permalink
updated to build using a path prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-chan-rga committed Aug 20, 2020
1 parent d4e4433 commit 0ef6f9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {
siteMetadata: {
title: "Gatsby Contentful starter",
},
pathPrefix: "/gatsby-contentful-starter",
pathPrefix: "/whoweare",
plugins: [
"gatsby-transformer-remark",
"gatsby-transformer-sharp",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"scripts": {
"dev": "gatsby develop",
"build": "gatsby build",
"build": "gatsby build --prefix-paths",
"heroku-postbuild": "gatsby build",
"serve": "gatsby serve",
"postinstall": "node ./bin/hello.js",
Expand Down

0 comments on commit 0ef6f9d

Please sign in to comment.