Skip to content

Commit 13ec970

Browse files
committed
Revert "add pathPrefix option"
This reverts commit 3eb79e3.
1 parent 3eb79e3 commit 13ec970

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,3 @@ gatsby serve
7777
```
7878

7979
Once this starts, you can view your site at http://localhost:9000.
80-
81-
## Deployment
82-
83-
If you need to serve this blog from other than root, set `pathPrefix: ""` in `gatsby-config.js` and insert the right prefix.

gatsby-config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
module.exports = {
2-
pathPrefix: "/metafacture-blog",
32
siteMetadata: {
43
title: `Metafacture Blog`,
54
author: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"url": "git+https://github.com/metafacture/metafacture-blog.git"
5252
},
5353
"scripts": {
54-
"build": "gatsby build --prefix-paths",
54+
"build": "gatsby build",
5555
"develop": "gatsby develop -H 0.0.0.0",
5656
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
5757
"start": "npm run develop",

0 commit comments

Comments
 (0)