Support deployment to Alibaba Cloud CDN.

This commit is contained in:
yoan
2024-08-21 22:30:33 +08:00
parent bbc6d094c3
commit 6d9fef3d2a
6 changed files with 101 additions and 11 deletions

View File

@@ -243,6 +243,9 @@ const Edit = () => {
<SelectItem value="aliyun-oss">
-OSS
</SelectItem>
<SelectItem value="aliyun-cdn">
-CDN
</SelectItem>
</SelectGroup>
</SelectContent>
</Select>

View File

@@ -91,6 +91,13 @@ const Home = () => {
return domain;
});
setDomains(updatedDomains);
toast.toast({
title: "执行成功",
description: "执行成功",
});
setTimeout(() => {
navigate(0);
}, 1000);
} catch (e) {
toast.toast({
title: "执行失败",