Skip to content

Commit 03d889c

Browse files
committed
Update cors.js
1 parent cae5e00 commit 03d889c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/cors.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ export default async function handler(request, response) {
3232

3333
const options = {
3434
hostname: url.hostname,
35-
path: url.pathname + url.search,
35+
path: url.pathname,
36+
search: url.search,
3637
method: 'GET',
3738
headers: {
3839
'Content-Type': 'application/json'

0 commit comments

Comments
 (0)