mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-10-02 00:00:06 +00:00
feat: 增加配置 php 配置文件功能
This commit is contained in:
committed by
zhengkunwang223
parent
c629fa9575
commit
04a76fd94d
@@ -35,8 +35,8 @@ export const GetWebsiteOptions = () => {
|
||||
return http.get<Array<string>>(`/websites/options`);
|
||||
};
|
||||
|
||||
export const GetWebsiteNginx = (id: number) => {
|
||||
return http.get<File.File>(`/websites/${id}/nginx`);
|
||||
export const GetWebsiteConfig = (id: number, type: string) => {
|
||||
return http.get<File.File>(`/websites/${id}/config/${type}`);
|
||||
};
|
||||
|
||||
export const DeleteWebsite = (req: Website.WebSiteDel) => {
|
||||
|
||||
Reference in New Issue
Block a user