Add shared printful webhook secret for authentication

This commit is contained in:
Dominic Ferrando
2026-07-18 00:44:54 -04:00
parent 169034a63c
commit 2c356e6707
3 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import { env } from "../util";
const DOMAIN = "dev.api.bladeandbrawn.com";
const PRINTFUL_WEBHOOK_URL = `http://${DOMAIN}/webhooks/printful`;
const PRINTFUL_WEBHOOK_URL = `http://${DOMAIN}/webhooks/printful?secret=${env.PRINTFUL_WEBHOOK_SECRET}`;
const WEBFLOW_WEBHOOK_URL = `https://${DOMAIN}/webhooks/webflow`;
function printError(err: unknown): never {