@theholocron/cli 3.45.3 → 3.45.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/capabilities/index.d.mts +1 -0
- package/dist/cli.mjs +3 -2
- package/dist/cli.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -4236,6 +4236,7 @@ async function runSetup(input) {
|
|
|
4236
4236
|
}));
|
|
4237
4237
|
print(formatStep(steps[steps.length - 1]));
|
|
4238
4238
|
const wikiDns = wiki.dnsRecord?.();
|
|
4239
|
+
const wikiProxy = wiki.proxyConfig?.();
|
|
4239
4240
|
if (wikiDns && loader.has("dns")) {
|
|
4240
4241
|
const dns = loader.get("dns");
|
|
4241
4242
|
steps.push(await runStep("dns", `upsertRecord ${wikiDns.cname}`, dryRun, async () => {
|
|
@@ -4243,12 +4244,12 @@ async function runSetup(input) {
|
|
|
4243
4244
|
type: "CNAME",
|
|
4244
4245
|
name: wikiDns.cname,
|
|
4245
4246
|
content: wikiDns.target,
|
|
4246
|
-
ttl: 1
|
|
4247
|
+
ttl: 1,
|
|
4248
|
+
...wikiProxy ? { proxied: true } : {}
|
|
4247
4249
|
});
|
|
4248
4250
|
}));
|
|
4249
4251
|
print(formatStep(steps[steps.length - 1]));
|
|
4250
4252
|
}
|
|
4251
|
-
const wikiProxy = wiki.proxyConfig?.();
|
|
4252
4253
|
if (wikiProxy && wikiDns && loader.has("workers")) {
|
|
4253
4254
|
const workers = loader.get("workers");
|
|
4254
4255
|
steps.push(await runStep("workers", `upsertProxy ${wikiDns.cname}`, dryRun, async () => {
|