Skip to content

Commit df5c1a2

Browse files
set correct environment
1 parent a2333e9 commit df5c1a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/lib/datocms.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function executeFetch(query, variables = {}, preview = false) {
2626
headers: {
2727
'Content-Type': 'application/json',
2828
Authorization: process.env.DATO_API_TOKEN,
29-
'X-Environment': 'production',
29+
'X-Environment': 'main',
3030
},
3131
body: JSON.stringify({ query, variables }),
3232
})

0 commit comments

Comments
 (0)