diff --git a/internal/cli/daemon.go b/internal/cli/daemon.go index a303a3e2..5b8d3436 100644 --- a/internal/cli/daemon.go +++ b/internal/cli/daemon.go @@ -13,7 +13,7 @@ import ( "time" "miniflux.app/v2/internal/config" - httpd "miniflux.app/v2/internal/http/server" + "miniflux.app/v2/internal/http/server" "miniflux.app/v2/internal/metric" "miniflux.app/v2/internal/storage" "miniflux.app/v2/internal/systemd" @@ -35,7 +35,7 @@ func startDaemon(store *storage.Storage) { var httpServers []*http.Server if config.Opts.HasHTTPService() { - httpServers = httpd.StartWebServer(store, pool) + httpServers = server.StartWebServer(store, pool) } if config.Opts.HasMetricsCollector() { diff --git a/internal/http/server/httpd.go b/internal/http/server/httpd.go index 62e000e4..a72745f0 100644 --- a/internal/http/server/httpd.go +++ b/internal/http/server/httpd.go @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved. // SPDX-License-Identifier: Apache-2.0 -package httpd // import "miniflux.app/v2/internal/http/server" +package server // import "miniflux.app/v2/internal/http/server" import ( "crypto/tls" diff --git a/internal/http/server/middleware.go b/internal/http/server/middleware.go index 41978471..60b749b2 100644 --- a/internal/http/server/middleware.go +++ b/internal/http/server/middleware.go @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: Copyright The Miniflux Authors. All rights reserved. // SPDX-License-Identifier: Apache-2.0 -package httpd // import "miniflux.app/v2/internal/http/server" +package server // import "miniflux.app/v2/internal/http/server" import ( "context"