From 5a483a151d6a0ec153ef5144e342cc932cbf08bc Mon Sep 17 00:00:00 2001 From: Jovi De Croock Date: Tue, 7 Jan 2025 11:22:51 +0100 Subject: [PATCH] Rewrite requests to `/graphql` --- next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index ba2d0f768c..6dfcdd2364 100644 --- a/next.config.js +++ b/next.config.js @@ -73,7 +73,7 @@ export default withLess( return [ { source: "/swapi-graphql/:path*", - destination: "https://graphql.github.io/swapi-graphql/:path*", + destination: "https://graphql.github.io/swapi-graphql/graphql", }, ] },