Skip to content

Commit c5bbb66

Browse files
committed
async typo
1 parent 2a31454 commit c5bbb66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async function bakeCookie(data) {
8383
return response.json()
8484
}
8585
// VPN
86-
function ifVpn(data) {
86+
async function ifVpn(data) {
8787
const response = await fetch("http://localhost:5000/if-vpn/"+ btoa(JSON.stringify(data)), {
8888
method: 'GET',
8989
headers: {'Content-Type': 'application/json'}

0 commit comments

Comments
 (0)