diff options
Diffstat (limited to 'workhorse/internal/staticpages/deploy_page.go')
-rw-r--r-- | workhorse/internal/staticpages/deploy_page.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/workhorse/internal/staticpages/deploy_page.go b/workhorse/internal/staticpages/deploy_page.go index 3dc2d982981..ca0931addd0 100644 --- a/workhorse/internal/staticpages/deploy_page.go +++ b/workhorse/internal/staticpages/deploy_page.go @@ -4,8 +4,6 @@ import ( "net/http" "os" "path/filepath" - - "gitlab.com/gitlab-org/gitlab/workhorse/internal/helper" ) func (s *Static) DeployPage(handler http.Handler) http.Handler { @@ -18,7 +16,7 @@ func (s *Static) DeployPage(handler http.Handler) http.Handler { return } - helper.SetNoCacheHeaders(w.Header()) + setNoCacheHeaders(w.Header()) w.Header().Set("Content-Type", "text/html; charset=utf-8") w.WriteHeader(http.StatusOK) w.Write(data) |