Skip to content

Commit b473e7b

Browse files
committed
fix swapi (#1646)
* fix swapi * chore: prettier
1 parent 0b4ae4d commit b473e7b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

next.config.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ export default withLess(
6868
// Valid redirect statusCode values are 301, 302, 303, 307, 308
6969
redirects: () => vercelJSON.redirects.filter(o => o.statusCode !== 200),
7070
async rewrites() {
71-
return [
72-
{
73-
source: '/swapi-graphql/:path*',
74-
destination: 'https://graphql.github.io/swapi-graphql/:path*',
75-
},
76-
]
77-
},
71+
return [
72+
{
73+
source: "/swapi-graphql/:path*",
74+
destination: "https://graphql.github.io/swapi-graphql/:path*",
75+
},
76+
]
77+
},
7878
}),
7979
)

0 commit comments

Comments
 (0)