From b325613878e8bdd74c76b9ec956676930b37ec48 Mon Sep 17 00:00:00 2001 From: SimonShiki Date: Fri, 3 Nov 2023 14:17:04 +0000 Subject: [PATCH] :sparkles: feat: add xueersi Signed-off-by: SimonShiki --- src/gallary.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gallary.tsx b/src/gallary.tsx index fe354a3..0555e8e 100644 --- a/src/gallary.tsx +++ b/src/gallary.tsx @@ -28,7 +28,8 @@ enum Platform { CCW = 'ccw', Cocrea = 'Cocrea', TurboWarpCN = 'twcn', - rCodenow = 'rc' + rCodenow = 'rc', + Xueersi = 'xueersi' } interface GallaryInfo { @@ -60,7 +61,8 @@ const platformMap = { [Platform.CCW]: 'www.ccw.site', [Platform.Cocrea]: 'cocrea.world', [Platform.TurboWarpCN]: 'editor.turbowarp.cn', - [Platform.rCodenow]: '0832.ink/rc' + [Platform.rCodenow]: '0832.ink', + [Platform.Xueersi]: 'code.xueersi.com' }; function isUnavailable (info: GallaryInfo, clientInfo: ClientInfo | null) {