fix: make vercel go entrypoint internal-safe

This commit is contained in:
CJACK
2026-02-16 18:04:12 +08:00
parent 63ee2e41c2
commit 0913c477a6
4 changed files with 33 additions and 4 deletions

11
app/handler.go Normal file
View File

@@ -0,0 +1,11 @@
package app
import (
"net/http"
"ds2api/internal/server"
)
func NewHandler() http.Handler {
return server.NewApp().Router
}