diff --git a/app/app.go b/app/app.go index 776ed73..c0e2572 100644 --- a/app/app.go +++ b/app/app.go @@ -5,10 +5,10 @@ import ( "fmt" "log" "net/http" - paas "proxmoxaas-common-lib" "proxmoxaas-dashboard/app/common" "proxmoxaas-dashboard/app/routes" "proxmoxaas-dashboard/app/web" + paas "proxmoxaas-dashboard/proxmoxaas-common-lib" ) func Run() { diff --git a/app/common/utils.go b/app/common/utils.go index 28e9081..9288f72 100644 --- a/app/common/utils.go +++ b/app/common/utils.go @@ -18,7 +18,7 @@ import ( "github.com/tdewolff/minify/v2" - paas "proxmoxaas-common-lib" + paas "proxmoxaas-dashboard/proxmoxaas-common-lib" ) // get config file from configPath diff --git a/app/routes/account.go b/app/routes/account.go index f9009c1..ab59148 100644 --- a/app/routes/account.go +++ b/app/routes/account.go @@ -3,8 +3,8 @@ package routes import ( "fmt" "net/http" - paas "proxmoxaas-common-lib" "proxmoxaas-dashboard/app/common" + paas "proxmoxaas-dashboard/proxmoxaas-common-lib" "github.com/gerow/go-color" "github.com/go-viper/mapstructure/v2" diff --git a/app/routes/backups.go b/app/routes/backups.go index 0f3e3fd..f7e0cc3 100644 --- a/app/routes/backups.go +++ b/app/routes/backups.go @@ -3,8 +3,8 @@ package routes import ( "fmt" "net/http" - paas "proxmoxaas-common-lib" "proxmoxaas-dashboard/app/common" + paas "proxmoxaas-dashboard/proxmoxaas-common-lib" "time" "github.com/go-viper/mapstructure/v2" diff --git a/app/routes/config.go b/app/routes/config.go index f4529ee..524d15e 100644 --- a/app/routes/config.go +++ b/app/routes/config.go @@ -3,8 +3,8 @@ package routes import ( "fmt" "net/http" - paas "proxmoxaas-common-lib" "proxmoxaas-dashboard/app/common" + paas "proxmoxaas-dashboard/proxmoxaas-common-lib" "slices" "sort" diff --git a/app/routes/index.go b/app/routes/index.go index 0155e29..f0cf7f3 100644 --- a/app/routes/index.go +++ b/app/routes/index.go @@ -3,8 +3,8 @@ package routes import ( "fmt" "net/http" - paas "proxmoxaas-common-lib" "proxmoxaas-dashboard/app/common" + paas "proxmoxaas-dashboard/proxmoxaas-common-lib" "strconv" "github.com/go-viper/mapstructure/v2" diff --git a/app/routes/login.go b/app/routes/login.go index 236ed65..e55df7d 100644 --- a/app/routes/login.go +++ b/app/routes/login.go @@ -3,8 +3,8 @@ package routes import ( "fmt" "net/http" - paas "proxmoxaas-common-lib" "proxmoxaas-dashboard/app/common" + paas "proxmoxaas-dashboard/proxmoxaas-common-lib" "github.com/go-viper/mapstructure/v2" ) diff --git a/app/routes/settings.go b/app/routes/settings.go index 2246c40..c6a29ab 100644 --- a/app/routes/settings.go +++ b/app/routes/settings.go @@ -2,8 +2,8 @@ package routes import ( "net/http" - paas "proxmoxaas-common-lib" "proxmoxaas-dashboard/app/common" + paas "proxmoxaas-dashboard/proxmoxaas-common-lib" ) func HandleGETSettings(w http.ResponseWriter, r *http.Request) { diff --git a/go.mod b/go.mod index 7177ebf..ee24b55 100644 --- a/go.mod +++ b/go.mod @@ -9,6 +9,4 @@ require ( proxmoxaas-common-lib v0.0.0 ) -replace proxmoxaas-common-lib => ./proxmoxaas-common-lib - require github.com/tdewolff/parse/v2 v2.8.20 // indirect diff --git a/proxmoxaas-common-lib b/proxmoxaas-common-lib index 8b73652..e7341e3 160000 --- a/proxmoxaas-common-lib +++ b/proxmoxaas-common-lib @@ -1 +1 @@ -Subproject commit 8b73652c9b1b5f9585a3539537991b702589249a +Subproject commit e7341e3d9e9778cc59621050566940e718678cf8