Skip to content

Commit 782936e

Browse files
committed
cookies try
1 parent 22561ab commit 782936e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routes/github.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ router.get('/auth',(req,res)=>{
4242
return token
4343
})
4444
.then((token)=>{
45+
console.log(token)
4546
res.header('Access-Control-Allow-Origin','*')
4647
res.header('Access-Control-Allow-Headers','Origin,X-Requested-With,COntent-Type,Accept');
4748
res.header("Access-Control-Allow-Credentials",true)

0 commit comments

Comments
 (0)