refactor(config): changed to settings to match the other lst in node. makes it more easy to manage

This commit is contained in:
2025-07-29 20:13:35 -05:00
parent 4368111311
commit 3bc3801ffb
5 changed files with 68 additions and 57 deletions

View File

@@ -24,7 +24,7 @@ import (
"github.com/gin-contrib/cors"
"github.com/gin-gonic/gin"
"github.com/joho/godotenv"
"lst.net/cmd/services/system/config"
"lst.net/cmd/services/system/settings"
"lst.net/cmd/services/websocket"
_ "lst.net/docs"
@@ -115,7 +115,7 @@ func main() {
//logging.RegisterLoggerRoutes(r, basePath)
websocket.RegisterSocketRoutes(r, basePath)
config.RegisterConfigRoutes(r, basePath)
settings.RegisterSettingsRoutes(r, basePath)
r.Any(basePath+"/api", errorApiLoc)