Add documenation of all apps/packages

This commit is contained in:
Dominic Ferrando
2026-07-31 09:47:39 -04:00
parent e299d1e5cc
commit 887e9ea78c
10 changed files with 354 additions and 35 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
import { Printful, PrintfulClient, PrintfulError, Webflow, WebflowClient, WebflowError } from "@blade-and-brawn/commerce";
import { env } from "../util";
const DOMAIN = "dev.api.bladeandbrawn.com";
const DOMAIN = env.NODE_ENV === "development" ?
"dev.api.bladeandbrawn.com" :
"api.bladeandbrawn.com";
const PRINTFUL_WEBHOOK_URL = env.NODE_ENV === "development" ?
`http://${DOMAIN}/webhooks/printful?secret=${env.PRINTFUL_WEBHOOK_SECRET}` :