Skip to content

Commit 7330db7

Browse files
JoviDeCroockbenjie
andauthored
Fix SWAPI URL (#1938)
Co-authored-by: Benjie <[email protected]>
1 parent c6a3019 commit 7330db7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

next.config.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ export default withLess(
7373
return [
7474
{
7575
source: "/swapi-graphql/:path*",
76-
destination: "https://graphql.github.io/swapi-graphql/:path*",
76+
destination: "https://swapi-graphql.netlify.app/:path*",
77+
},
78+
{
79+
source: "/graphql",
80+
destination: "https://swapi-graphql.netlify.app/graphql",
7781
},
7882
]
7983
},

0 commit comments

Comments
 (0)