From 607111071bd41f4a580f71fe239efd2b8493c662 Mon Sep 17 00:00:00 2001 From: Roland Osborne Date: Mon, 15 Jan 2024 10:10:28 -0800 Subject: [PATCH] fixing asset path --- net/server/internal/store/alloc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/server/internal/store/alloc.go b/net/server/internal/store/alloc.go index 30c678c9..15190bce 100644 --- a/net/server/internal/store/alloc.go +++ b/net/server/internal/store/alloc.go @@ -25,7 +25,7 @@ func SetPath(storePath string, transformPath string) { if res := tx.Clauses(clause.OnConflict{ Columns: []clause.Column{{Name: "config_id"}}, DoUpdates: clause.AssignmentColumns([]string{"str_value"}), - }).Create(&Config{ConfigID: "asset_path", StrValue: storePath + "/assets"}).Error; res != nil { + }).Create(&Config{ConfigID: "asset_path", StrValue: storePath}).Error; res != nil { return res } return nil