Skip to content

Commit 5142b35

Browse files
committed
fix: remove hostname protocol
1 parent 6e14099 commit 5142b35

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

infra/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const discordInviteUrl = config.requireSecret('discord-invite-url');
1212

1313
const isProd = environment === 'production';
1414
const workerDomain = isProd ? 'https://podcodar.org' : 'https://dev.podcodar.org';
15+
const workerHostname = isProd ? 'podcodar.org' : 'dev.podcodar.org';
1516

1617
const builder = new command.local.Command(
1718
'build-worker',
@@ -101,7 +102,7 @@ new cloudflare.WorkersCustomDomain(
101102
zoneId,
102103
accountId,
103104
service: worker.name,
104-
hostname: workerDomain,
105+
hostname: workerHostname,
105106
},
106107
{ dependsOn: [worker, workerDeployment] }
107108
);

0 commit comments

Comments
 (0)