Skip to content

Commit

Permalink
feat: add vercel endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhu327 committed Dec 27, 2023
1 parent cdee618 commit 1c99a65
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions api/index.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package api

import (
"net/http"

"github.com/gin-gonic/gin"
)

func Handler(w http.ResponseWriter, r *http.Request) {
router := gin.New()
Register(router)
router.ServeHTTP(w, r)
}

0 comments on commit 1c99a65

Please sign in to comment.