Skip to content

Commit acd47a6

Browse files
authored
fix: skip smee setup by setting NO_SMEE_SETUP to "true" (probot#1544)
1 parent fdd1448 commit acd47a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/apps/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const setupAppFactory = (
2121
// If not on Glitch or Production, create a smee URL
2222
if (
2323
process.env.NODE_ENV !== "production" &&
24-
!(process.env.PROJECT_DOMAIN || process.env.WEBHOOK_PROXY_URL || host)
24+
!(process.env.PROJECT_DOMAIN || process.env.WEBHOOK_PROXY_URL || process.env.NO_SMEE_SETUP === 'true')
2525
) {
2626
await setup.createWebhookChannel();
2727
}

0 commit comments

Comments
 (0)