Skip to content

Commit 3f3dfb8

Browse files
committed
workflow should use APP_DOMAIN instead
1 parent 91b7e94 commit 3f3dfb8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/web/lib/cron/qstash-workflow.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { logger, toErrorFields } from "@/lib/axiom/server";
2-
import { APP_DOMAIN_WITH_NGROK, pluralize } from "@dub/utils";
2+
import { APP_DOMAIN, pluralize } from "@dub/utils";
33
import { FlowControl } from "@upstash/qstash";
44
import { Client } from "@upstash/workflow";
55

@@ -37,7 +37,7 @@ export async function triggerQStashWorkflow(
3737
try {
3838
const response = await client.trigger(
3939
workflows.map((workflow) => ({
40-
url: `${APP_DOMAIN_WITH_NGROK}/api/workflows/${workflow.workflowType}`,
40+
url: `${APP_DOMAIN}/api/workflows/${workflow.workflowType}`,
4141
body: workflow.body,
4242
label: workflow.workflowLabel,
4343
retries: 5,

0 commit comments

Comments
 (0)