use chemical with wisp, cleanup
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
import type { NextApiRequest, NextApiResponse } from 'next'
|
||||
import { createBareServer } from '@tomphttp/bare-server-node'
|
||||
|
||||
const bare = createBareServer('/api/bare/', {
|
||||
logErrors: false,
|
||||
localAddress: undefined,
|
||||
maintainer: {
|
||||
email: 'contact@proudparrot2.tech',
|
||||
website: 'https://github.com/proudparrot2/'
|
||||
}
|
||||
})
|
||||
|
||||
export const config = {
|
||||
api: {
|
||||
externalResolver: true
|
||||
}
|
||||
}
|
||||
export default function handler(req: NextApiRequest, res: NextApiResponse) {
|
||||
bare.routeRequest(req, res)
|
||||
}
|
||||
Reference in New Issue
Block a user