Skip to content

Commit 5b49e87

Browse files
add protocol to URL returned by puter worker
1 parent 27c1e62 commit 5b49e87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/src/services/worker/workerUtils/cloudflareDeploy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async function createWorker(userData, authorization, workerName, body, PREAMBLE_
4545
const cfReturnCodes = await (await cfFetch(`${WORKERS_BASE_URL}/scripts/${workerName}/`, "PUT", formData)).json();
4646

4747
if (cfReturnCodes.success) {
48-
return { success: true, errors: [], url: `${workerName}.puter.work` };
48+
return { success: true, errors: [], url: `https://${workerName}.puter.work` };
4949
} else {
5050
const parsedErrors = [];
5151
for (const error of cfReturnCodes.errors) {

0 commit comments

Comments
 (0)