fix: correct proxy response status and formatting, and add release configuration file
Build and Release / release (push) Successful in 1m35s

This commit is contained in:
2026-06-12 12:36:43 +07:00
parent 2e6f54b7e7
commit 7c3d96f1db
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -147,7 +147,7 @@ func main() {
return req, goproxy.NewResponse( return req, goproxy.NewResponse(
req, req,
goproxy.ContentTypeText, goproxy.ContentTypeText,
http.StatusOK, http.StatusNotFound,
"", "",
) )
} }
@@ -160,7 +160,7 @@ func main() {
req, req,
goproxy.ContentTypeText, goproxy.ContentTypeText,
http.StatusNotFound, http.StatusNotFound,
`{\n"message": "blocked by proxy",\n,"success": false,\n"retcode": -1\n}`, `{"message": "blocked by proxy", "success": false, "retcode": -1}`,
) )
} }
full := req.URL.String() full := req.URL.String()
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"tag": "1.3-02", "tag": "1.3-03",
"title": "PreBuild Version 1.3 - 02" "title": "PreBuild Version 1.3 - 03"
} }