diff --git a/backend/app/dto/response/website.go b/backend/app/dto/response/website.go
index 3cfad9acb..bae123317 100644
--- a/backend/app/dto/response/website.go
+++ b/backend/app/dto/response/website.go
@@ -42,6 +42,7 @@ type WebsiteLog struct {
Enable bool `json:"enable"`
Content string `json:"content"`
End bool `json:"end"`
+ Path string `json:"path"`
}
type PHPConfig struct {
diff --git a/backend/app/service/website.go b/backend/app/service/website.go
index d4f2bd4ac..4c4990336 100644
--- a/backend/app/service/website.go
+++ b/backend/app/service/website.go
@@ -941,6 +941,7 @@ func (w WebsiteService) OpWebsiteLog(req request.WebsiteLogReq) (*response.Websi
return nil, err
}
res.End = end
+ res.Path = filePath
res.Content = strings.Join(lines, "\n")
return res, nil
case constant.DisableLog:
diff --git a/frontend/src/api/interface/website.ts b/frontend/src/api/interface/website.ts
index 536abc302..c5e542751 100644
--- a/frontend/src/api/interface/website.ts
+++ b/frontend/src/api/interface/website.ts
@@ -90,6 +90,7 @@ export namespace Website {
enable: boolean;
content: string;
end: boolean;
+ path: string;
}
export interface Domain {
diff --git a/frontend/src/views/website/website/config/log/log-fiile/index.vue b/frontend/src/views/website/website/config/log/log-fiile/index.vue
index a27bc7492..9331a96f3 100644
--- a/frontend/src/views/website/website/config/log/log-fiile/index.vue
+++ b/frontend/src/views/website/website/config/log/log-fiile/index.vue
@@ -4,19 +4,14 @@