fix(wallpaper): proxy Bing images through Worker

This commit is contained in:
Codex committed 2026-09-25 19:51:21 +09:00
1 parent bf30001c42
commit 765a7de7b5
9 files changed
+85 -10

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
import assert from "node:assert/strict";
import { readFile } from "node:fs/promises";
const worker = await import(new URL("../dist/server/index.js", import.meta.url));
assert.equal(typeof worker.default?.fetch, "function");
const html = await readFile(new URL("../dist/server/assets.js", import.meta.url), "utf8");
assert.match(html, /indexHtml/);
console.log("Life OS Worker artifact is valid");