ZeroOne 繁體中文技術部落格

Cloudflare Gateway 套件註冊表安全怎麼設?先看 pkg.* 與 TLS 解密
Cloudflare Gateway 新增套件註冊表安全,可辨識 npm、PyPI、Cargo 等下載流量。本文整理 TLS 解密前提、pkg.* selector、版本比較、私有 mirror 與 fail-open 邊界。
1469 字
|
7 分鐘
Cover Image of the Post
Cloudflare Workers 怎麼套 Access?用 Worker scope 保護所有入口
Cloudflare Access 現在能直接套用到單一 Worker 或全部 Workers。本文整理 preview、production、workers.dev 與自訂網域的保護範圍,並用 wrangler dev 驗證登入身分。
1416 字
|
7 分鐘
Cover Image of the Post
Docker COPY 找不到檔案怎麼修?先確認 build context 與 .dockerignore
Docker 出現 COPY failed 或 file not found in build context 時,先確認建置指令的 context、Dockerfile 相對路徑與 .dockerignore,再決定要改 COPY 還是調整目錄。
1420 字
|
7 分鐘
Cover Image of the Post
GitHub Copilot Grok 4.6 怎麼開?先查 rollout、方案與 AI credits
GitHub Copilot 正逐步推出 Grok 4.6。本文整理支援的方案與入口、Business/Enterprise 管理員政策、逐步 rollout、AI credits 計費,以及選不到模型時的驗證順序。
1556 字
|
8 分鐘
Cover Image of the Post
Astro Cloudflare 為什麼有 SESSION KV?用 session: false 關掉不需要的狀態
使用 @astrojs/cloudflare 部署 Astro 時,為什麼會看到 SESSION KV binding?本文說明 adapter 預設行為、Astro 7.2.0 的 session: false、sessionKVBindingName 與 Astro.session 的取捨,並整理部署驗證。
1333 字
|
7 分鐘
Cover Image of the Post
actions/checkout@v5 出現 Node 24 錯誤怎麼辦?先更新 GitHub Actions runner
GitHub Actions 使用 actions/checkout@v5 後若出現 Node 24 或 runner 版本錯誤,問題通常在 Actions runner,不是 setup-node。本文整理 hosted、self-hosted 與 act 的分流,並提供 runner 更新、暫時回退與驗證步驟。
1617 字
|
8 分鐘
Cover Image of the Post
npm Workspaces 入門:用 Vue 3 整理多專案共用程式碼
手上有多個 Vue 3 專案,卻反覆複製元件與設定?這篇用 npm Workspaces 建立 monorepo,示範共用套件、依賴管理、指定 app 指令,以及用 GitHub Actions 從根目錄安裝、建置並部署單一 Vue 系統。
3756 字
|
19 分鐘
Cover Image of the Post
Pagefind 怎麼排除不該搜尋的內容?data-pagefind-ignore 與 exclude_selectors
Pagefind 預設會從頁面 body 建立搜尋索引,但導覽列、分享工具、重複標題或輔助文字不一定適合被搜尋。本文整理 data-pagefind-body、data-pagefind-ignore、exclude_selectors 的差異,並用 Astro build 與 dist 檢查實際索引邊界。
1682 字
|
8 分鐘
Cover Image of the Post