fix: update .gitignore to include package-lock.json and yarn.lock; modify Dockerfile for improved build process and dependency management

This commit is contained in:
Laisky.Cai
2025-03-12 10:50:50 +00:00
parent 3effdef34a
commit d4d534764c
9 changed files with 32718 additions and 24 deletions

View File

@@ -3,12 +3,13 @@ package router
import (
"embed"
"fmt"
"github.com/gin-gonic/gin"
"github.com/songquanpeng/one-api/common/config"
"github.com/songquanpeng/one-api/common/logger"
"net/http"
"os"
"strings"
"github.com/gin-gonic/gin"
"github.com/songquanpeng/one-api/common/config"
"github.com/songquanpeng/one-api/common/logger"
)
func SetRouter(router *gin.Engine, buildFS embed.FS) {