feat: 伪静态支持保存为模版 (#6663)

Refs https://github.com/1Panel-dev/1Panel/issues/705
This commit is contained in:
zhengkunwang
2024-10-09 13:56:58 +00:00
committed by GitHub
parent 958993f81f
commit 2565373db6
13 changed files with 278 additions and 30 deletions
+8
View File
@@ -331,3 +331,11 @@ export const GetWebsiteDatabase = () => {
export const ChangeDatabase = (req: Website.ChangeDatabase) => {
return http.post(`/websites/databases`, req);
};
export const OperateCustomRewrite = (req: Website.CustomRewirte) => {
return http.post(`/websites/rewrite/custom`, req);
};
export const ListCustomRewrite = () => {
return http.get<string[]>(`/websites/rewrite/custom`);
};