use chemical with wisp, cleanup

This commit is contained in:
Nebelung
2024-10-13 19:14:49 +00:00
parent fcd6718d0c
commit 408fa074bb
25 changed files with 2362 additions and 5177 deletions
-20
View File
@@ -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)
}