// It appears vercel serverless requires strong references
// for inclusion in the file system
import "../references.js";
import * as dotenv from "dotenv";
dotenv.config();
const { createFastifyApplication } = await import("./listen.js");
const app = await createFastifyApplication();
export default async function handler(request, response) {
    await app.ready();
    app.server.emit('request', request, response);
}
export { handler };
//# sourceMappingURL=serverless.js.map