Skip to content

Commit

Permalink
Merge pull request #214 from defong/master
Browse files Browse the repository at this point in the history
NetlifyCMS configuration path fix.
  • Loading branch information
Vagr9K authored Nov 20, 2021
2 parents e63f032 + e9e6d29 commit 5ca3ccd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"test:e2e:dev": "CYPRESS_SUPPORT=y CYPRESS_BASE_URL=http://localhost:8000 CYPRESS_STAGE=dev start-server-and-test develop http://localhost:8000 cy:open",
"test:e2e": "CYPRESS_SUPPORT=y npm run build && start-server-and-test serve http://localhost:9000 cy:open",
"test:e2e:ci": "CYPRESS_SUPPORT=y npm run build && start-server-and-test serve http://localhost:9000 cy:run",
"write-good": "write-good $(glob 'content/**/*.md')"
"write-good": "write-good **/content/*.{md,mdx}"
},
"dependencies": {
"@stylelint/postcss-css-in-js": "^0.37.2",
Expand Down
2 changes: 1 addition & 1 deletion themes/advanced/gatsby/gatsby-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const gatsbyConfig = (userConfig: SiteConfig): GatsbyConfig => {
const validatedPathPrefix =
config.pathPrefix === "" ? "/" : config.pathPrefix;

const netlifyConfigPath = "../src/netlifycms/index.js";
const netlifyConfigPath = "./src/netlifycms/index.js";

return {
pathPrefix: validatedPathPrefix,
Expand Down

2 comments on commit 5ca3ccd

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.