Skip to content

Commit

Permalink
pathPrefix in build (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
mimiflynn authored Nov 28, 2023
1 parent e5d0b63 commit 28adf74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions site/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ module.exports = {
siteMetadata: {
title: `Morgan Stanley Open Source Software`,
description: `Morgan Stanley Open Source Software`,
siteUrl: 'http://opensource.morganstanley.com',
siteUrl: 'http://opensource.morganstanley.com/crossroads',
documentationUrl: false,
// documentationUrl: url-of.documentation.site,
},
pathPrefix: `/`, // include subdirectory
pathPrefix: `/Crossroads`, // include subdirectory
plugins,
};
2 changes: 1 addition & 1 deletion site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"scripts": {
"develop": "gatsby develop -H 0.0.0.0",
"start": "gatsby develop -H 0.0.0.0",
"build": "gatsby clean && gatsby build && npm run pub",
"build": "gatsby clean && gatsby build --prefix-paths && npm run pub",
"serve": "gatsby serve",
"pub": "rm -rf ../docs && mv public ../docs",
"clean": "gatsby clean"
Expand Down

0 comments on commit 28adf74

Please sign in to comment.