Skip to content

Commit 80dd42c

Browse files
committed
prefix path and site url option
1 parent 51d983d commit 80dd42c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gatsby-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if (process.env.NODE_ENV === `production` && config.siteUrl === `http://localhos
3434
*
3535
*/
3636
module.exports = {
37-
// pathPrefix: "/web-dev",
37+
pathPrefix: "/web-dev",
3838
siteMetadata: {
3939
siteUrl: process.env.SITEURL || config.siteUrl,
4040
},

src/utils/siteConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
// siteUrl: `http://localhost:8000`, // Site domain. Do not include a trailing slash!
3-
siteUrl: `https://sdv.dev/web-dev`, // Site domain. Do not include a trailing slash!
3+
siteUrl: `https://sdv.dev`, // Site domain. Do not include a trailing slash!
44

55
postsPerPage: 12, // Number of posts shown on paginated pages (changes this requires sometimes to delete the cache)
66

0 commit comments

Comments
 (0)