Skip to content

Commit 3ca1e9a

Browse files
committed
fix: fetch url
1 parent caccb23 commit 3ca1e9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
function graphQLFetcher(graphQLParams) {
8484
// This example expects a GraphQL server at the path /graphql.
8585
// Change this to point wherever you host your GraphQL server.
86-
return fetch(parameters.fetchURL || '/.netlify/functions/index', {
86+
return fetch(parameters.fetchURL || 'https://swapi-graphql.netlify.app/.netlify/functions/index', {
8787
method: 'post',
8888
headers: {
8989
'Accept': 'application/json',

0 commit comments

Comments
 (0)