From 30ef609eba738953643ff5fee6a377ee7617f367 Mon Sep 17 00:00:00 2001 From: john Date: Thu, 2 Jul 2026 18:13:12 +0800 Subject: [PATCH] test: align public image url domain --- 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 425aced..ec0e3b6 100644 --- a/mindspace-publications.test.mjs +++ b/mindspace-publications.test.mjs @@ -215,7 +215,7 @@ test('prepareHtmlPublishContent rewrites imgproxy local image urls to public sta }, }); - assert.match(prepared, /https:\/\/m\.tkmind\.cn\/MindSpace\/user-1\/images\/2026-06-29\/hero\.jpg/); + assert.match(prepared, /https:\/\/mm\.tkmind\.cn\/MindSpace\/user-1\/images\/2026-06-29\/hero\.jpg/); assert.doesNotMatch(prepared, /plain\/local:\/\//); }); @@ -241,7 +241,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:\/\/m\.tkmind\.cn\/MindSpace\/user-1\/images\/2026-06-29\/bg\.jpg\)/); + assert.match(prepared, /url\(https:\/\/mm\.tkmind\.cn\/MindSpace\/user-1\/images\/2026-06-29\/bg\.jpg\)/); assert.doesNotMatch(prepared, /plain\/local:\/\//); });