diff --git a/.goreleaser.yaml b/.goreleaser.yaml index d92648fb..45873324 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -23,13 +23,6 @@ archives: builds: - panel format: zip - meta: true - name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" - builds_info: - group: root - owner: root - mode: 0644 - mtime: 2008-01-02T15:04:05Z wrap_in_directory: false strip_parent_binary_folder: true rlcp: true diff --git a/plugins/openresty/routes.go b/plugins/openresty/routes.go index bf749777..a5c5f95c 100644 --- a/plugins/openresty/routes.go +++ b/plugins/openresty/routes.go @@ -22,6 +22,4 @@ func Route() { route.Get("errorLog", openRestyController.ErrorLog) route.Get("cleanErrorLog", openRestyController.ClearErrorLog) }) - - facades.Route().StaticFile("panel/views/plugins/openresty.html", "plugins/openresty/public/views/openresty.html") } diff --git a/plugins/openresty/public/views/openresty.html b/public/panel/views/plugins/openresty.html similarity index 100% rename from plugins/openresty/public/views/openresty.html rename to public/panel/views/plugins/openresty.html