Skip to content

Commit 582b8f8

Browse files
committed
fix swapi (graphql#1646)
* fix swapi * chore: prettier
1 parent 11c13e4 commit 582b8f8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

next.config.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ export default withLess(
4545
// Valid redirect statusCode values are 301, 302, 303, 307, 308
4646
redirects: () => vercelJSON.redirects.filter(o => o.statusCode !== 200),
4747
async rewrites() {
48-
return [
49-
{
50-
source: '/swapi-graphql/:path*',
51-
destination: 'https://graphql.github.io/swapi-graphql/:path*',
52-
},
53-
]
54-
},
48+
return [
49+
{
50+
source: "/swapi-graphql/:path*",
51+
destination: "https://graphql.github.io/swapi-graphql/:path*",
52+
},
53+
]
54+
},
5555
}),
5656
)

0 commit comments

Comments
 (0)