Skip to content

Commit

Permalink
Revert "add pathPrefix option"
Browse files Browse the repository at this point in the history
This reverts commit 3eb79e3.
  • Loading branch information
Phu2 committed Mar 24, 2023
1 parent 3eb79e3 commit 13ec970
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions README.md
Expand Up @@ -77,7 +77,3 @@ gatsby serve
```

Once this starts, you can view your site at http://localhost:9000.

## Deployment

If you need to serve this blog from other than root, set `pathPrefix: ""` in `gatsby-config.js` and insert the right prefix.
1 change: 0 additions & 1 deletion gatsby-config.js
@@ -1,5 +1,4 @@
module.exports = {
pathPrefix: "/metafacture-blog",
siteMetadata: {
title: `Metafacture Blog`,
author: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -51,7 +51,7 @@
"url": "git+https://github.com/metafacture/metafacture-blog.git"
},
"scripts": {
"build": "gatsby build --prefix-paths",
"build": "gatsby build",
"develop": "gatsby develop -H 0.0.0.0",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
"start": "npm run develop",
Expand Down

0 comments on commit 13ec970

Please sign in to comment.