Skip to content

Commit b9a31e6

Browse files
committed
Update cors.js
1 parent cf44269 commit b9a31e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/cors.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ export default async function handler(request, response) {
1010

1111
let url = request.query.url;
1212

13+
console.log(url);
14+
1315
query.forEach(entry => {
1416

1517
url += '&' + entry[0] + '=' + entry[1];
1618

1719
});
18-
19-
console.log(url);
20-
20+
2121

2222
const {status, data} = await getRequest(url);
2323

0 commit comments

Comments
 (0)