Skip to content

Commit cfade31

Browse files
committed
fix: update preview deployment comment to include protocol in domain URL
1 parent 36ebeff commit cfade31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/server/src/services/preview-deployment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export const createPreviewDeployment = async (
171171
const runningComment = getIssueComment(
172172
application.name,
173173
"initializing",
174-
generateDomain,
174+
`${application.previewHttps ? "https" : "http"}://${generateDomain}`,
175175
);
176176

177177
const issue = await octokit.rest.issues.createComment({

0 commit comments

Comments
 (0)