Skip to content

Commit

Permalink
Update gatsby-node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleguido committed Mar 9, 2024
1 parent e8583e1 commit 4c3e730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const DataDir = path.join(rootPath, "/static/data")
const NotebooksJsonFilepath = path.join(DataDir, "/notebooks.json")
const AuthorsJsonFilepath = path.join(DataDir, "/authors.json")
const CollectionsJsonFilepath = path.join(DataDir, "/collections.json")
const NotebooksDir = path.join(rootPath, "/notebooks")
const NotebooksDir = path.join(DataDir, "/notebooks")
if (!fs.existsSync(DataDir)) {
fs.mkdirSync(DataDir)
}
Expand Down

0 comments on commit 4c3e730

Please sign in to comment.