Rewrite api to Go

This commit is contained in:
2025-08-07 13:47:42 +00:00
parent 4a9a7febec
commit 7f6ff5f660
56 changed files with 6487 additions and 10338 deletions

View File

@@ -2,17 +2,20 @@
"version": 2,
"builds": [
{
"src": "api/index.js",
"use": "@vercel/node"
"src": "api/index.go",
"use": "@vercel/go",
"config": {
"maxDuration": 10
}
}
],
"routes": [
{
"src": "/(.*)",
"dest": "/api/index.js"
"dest": "/api/index.go"
}
],
"env": {
"NODE_ENV": "production"
"GO_VERSION": "1.21"
}
}
}