Skip to content
This repository was archived by the owner on Apr 12, 2023. It is now read-only.

Commit 0dc0a1f

Browse files
authored
Path variable unused in gatsby config (#333)
1 parent 0b8c659 commit 0dc0a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/gatsby-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = {
3131

3232
function requireConfig (path) {
3333
try {
34-
return require('../studio/sanity.json')
34+
return require(path)
3535
} catch (e) {
3636
console.error(
3737
'Failed to require sanity.json. Fill in projectId and dataset name manually in gatsby-config.js'

0 commit comments

Comments
 (0)