Fly.io setup with 1 machine

This commit is contained in:
Dominic Ferrando
2025-05-04 15:23:05 -04:00
parent d5da472661
commit 228b4a7b94
6 changed files with 90 additions and 1 deletions
+5
View File
@@ -6,6 +6,11 @@ const productRecords = new ProductRecords();
const server = Bun.serve({
routes: {
"/test": {
async GET(req){
return Response.json("Hello world");
}
},
"/webhook/printful": {
async POST(req) {
const payload: Printful.Webhook.EventPayload = await req.json()