feat(identity): redirect legacy Zhuyuan ids to ICE-P

This commit is contained in:
冰朔 2026-07-27 14:12:51 +08:00
commit aa6652a646
28 changed files with 491 additions and 106 deletions

View file

@ -20,7 +20,8 @@ test("front door keeps the legally required ICP link", () => {
test("front door makes the new code channel the primary route", () => {
assert.match(html, /href="\/code\/"/);
assert.match(html, /光湖代码频道/);
assert.match(llms, /https:\/\/guanghulab\.com\/code\/bingshuo\/fifth-domain/);
assert.match(llms, /https:\/\/guanghulab\.com\/code\/bingshuo\/guanghu-ice-heart/);
assert.match(llms, /ICE-GL-ZY001[\s\S]*ICE-P-ZY001/);
assert.match(robots, /Allow: \/code\//);
});