mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
more tweaking
This commit is contained in:
@@ -10,7 +10,8 @@ export default async function useHandler(
|
||||
switch (method) {
|
||||
case 'GET':
|
||||
log.info('sending mail triggered')
|
||||
res.statusCode = 200
|
||||
res.status(200).end('DONE')
|
||||
res.end()
|
||||
break
|
||||
default:
|
||||
res.setHeader('Allow', ['GET'])
|
||||
|
||||
Reference in New Issue
Block a user