From 7ee85c8eab02ec53c3a1ea68ab5c06cddb83128c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=8E=E5=A3=B0?= Date: Mon, 22 Jul 2024 17:10:05 +0800 Subject: [PATCH] fix: fetch schema error --- Herebyfile.mjs | 2 +- libs/cfworker-builder/src/gen-toml.mjs | 2 +- src/api/controllers/configuration.tsx | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Herebyfile.mjs b/Herebyfile.mjs index b5fd8ee5..9fc04210 100644 --- a/Herebyfile.mjs +++ b/Herebyfile.mjs @@ -74,7 +74,7 @@ export const dev = task({ name: 'dev', dependencies: [build], run: async () => { - await runTask(devWorkerPreview); + await runTask(devNode); }, }); diff --git a/libs/cfworker-builder/src/gen-toml.mjs b/libs/cfworker-builder/src/gen-toml.mjs index 105871d3..8cfb8f89 100644 --- a/libs/cfworker-builder/src/gen-toml.mjs +++ b/libs/cfworker-builder/src/gen-toml.mjs @@ -27,7 +27,7 @@ export function run() { const v = process.env[key]; if (v && match.index) { magic.update(match.index, match.index + match[0].length, v); - console.log(`"${key}" will be replaced to "[redacted]"`); + console.log(`updated: "${key}" -> 🤫`); } else { console.warn(`env variable "${key}" not found.`); } diff --git a/src/api/controllers/configuration.tsx b/src/api/controllers/configuration.tsx index 595535c3..d08ab958 100644 --- a/src/api/controllers/configuration.tsx +++ b/src/api/controllers/configuration.tsx @@ -158,8 +158,7 @@ export function route(hono: THono) { return c.html( html`${raw(ConfigurationHTML)}