Skip to content

Commit 159a055

Browse files
authored
Merge pull request #2102 from Dokploy/2092-preview-link-without-protocol
fix: update preview deployment comment to include protocol in domain URL
2 parents 36ebeff + cfade31 commit 159a055

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)