mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-27 00:00:59 +00:00
feat: 伪静态支持保存为模版 (#6663)
Refs https://github.com/1Panel-dev/1Panel/issues/705
This commit is contained in:
@@ -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`);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user