Browse Source

Adjust headers

master
Tony Kovanen 9 years ago
parent
commit
75db9cec7c
  1. 4
      lib/login.js
  2. 3183
      npm-debug.log

4
lib/login.js

@ -21,10 +21,10 @@ async function getVerificationToken (email) {
const res = await fetch('http://localhost:3001/', {
method: 'POST',
mode: 'cors',
headers: new Headers({
headers: {
'Content-Type': 'application/json',
'Content-Length': data.length
}),
},
body: data
});

3183
npm-debug.log

File diff suppressed because it is too large
Loading…
Cancel
Save