fix(wallpaper): proxy Bing images through Worker
This commit is contained in:
1 parent
bf30001c42
commit
765a7de7b5
9 files changed
+85
-10
No files matched your search
@@ -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");
|
||||
Reference in new issue
Block a user