feat(identity): redirect legacy Zhuyuan ids to ICE-P
This commit is contained in:
parent
263142cc6b
commit
aa6652a646
28 changed files with 491 additions and 106 deletions
|
|
@ -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\//);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue