From c18d03d4049e7fe2e032ba448e88a44671dfdbeb Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Fri, 3 Jan 2025 00:54:15 +0100 Subject: chore(tfstated): refactor middlewares --- pkg/backend/routes.go | 2 +- pkg/backend/run.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/backend') diff --git a/pkg/backend/routes.go b/pkg/backend/routes.go index 058febd..960a2e8 100644 --- a/pkg/backend/routes.go +++ b/pkg/backend/routes.go @@ -3,8 +3,8 @@ package backend import ( "net/http" - "git.adyxax.org/adyxax/tfstated/pkg/basic_auth" "git.adyxax.org/adyxax/tfstated/pkg/database" + "git.adyxax.org/adyxax/tfstated/pkg/middlewares/basic_auth" ) func addRoutes( diff --git a/pkg/backend/run.go b/pkg/backend/run.go index 2af47ab..d76d189 100644 --- a/pkg/backend/run.go +++ b/pkg/backend/run.go @@ -7,7 +7,7 @@ import ( "net/http" "git.adyxax.org/adyxax/tfstated/pkg/database" - "git.adyxax.org/adyxax/tfstated/pkg/logger" + "git.adyxax.org/adyxax/tfstated/pkg/middlewares/logger" ) func Run( -- cgit v1.2.3