Add dev services

- Development dotenvs
- Caddy service
- Redis service
- Postgres service
- Fix env parser error

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2025-12-20 01:27:11 +08:00
parent 0fb5c8b758
commit f130401ff8
8 changed files with 88 additions and 17 deletions

View File

@@ -1,7 +1,13 @@
package server
import "github.com/gin-gonic/gin"
import (
"nixcn-cms/service/check"
"github.com/gin-gonic/gin"
)
func Router(e *gin.Engine) {
e.Static("/", "./static")
// API Services
api := e.Group("/api/v1")
check.Handler(api.Group("/check"))
}