From 42baa3e468ce49bd7b7435c88d5d211d0906af01 Mon Sep 17 00:00:00 2001 From: john Date: Sat, 4 Jul 2026 00:22:45 +0800 Subject: [PATCH] test: align public image domain expectations --- mindspace-publications.test.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mindspace-publications.test.mjs b/mindspace-publications.test.mjs index 7ba3524..0243a58 100644 --- a/mindspace-publications.test.mjs +++ b/mindspace-publications.test.mjs @@ -264,7 +264,7 @@ test('prepareHtmlPublishContent rewrites imgproxy local image urls to public sta }, }); - assert.match(prepared, /https:\/\/mm\.tkmind\.cn\/MindSpace\/user-1\/images\/2026-06-29\/hero\.jpg/); + assert.match(prepared, /https:\/\/m\.tkmind\.cn\/MindSpace\/user-1\/images\/2026-06-29\/hero\.jpg/); assert.doesNotMatch(prepared, /plain\/local:\/\//); }); @@ -546,7 +546,7 @@ test('prepareHtmlPublishContent rewrites imgproxy urls in srcset and css url con assert.match(prepared, /\/MindSpace\/user-1\/images\/2026-06-29\/thumb\.jpg 1x/); assert.match(prepared, /\/MindSpace\/user-1\/images\/2026-06-29\/hero\.jpg 2x/); - assert.match(prepared, /url\(https:\/\/mm\.tkmind\.cn\/MindSpace\/user-1\/images\/2026-06-29\/bg\.jpg\)/); + assert.match(prepared, /url\(https:\/\/m\.tkmind\.cn\/MindSpace\/user-1\/images\/2026-06-29\/bg\.jpg\)/); assert.doesNotMatch(prepared, /plain\/local:\/\//); });