fix: correct proxy response status and formatting, and add release configuration file
Build and Release / release (push) Successful in 1m35s
Build and Release / release (push) Successful in 1m35s
This commit is contained in:
@@ -147,7 +147,7 @@ func main() {
|
||||
return req, goproxy.NewResponse(
|
||||
req,
|
||||
goproxy.ContentTypeText,
|
||||
http.StatusOK,
|
||||
http.StatusNotFound,
|
||||
"",
|
||||
)
|
||||
}
|
||||
@@ -160,7 +160,7 @@ func main() {
|
||||
req,
|
||||
goproxy.ContentTypeText,
|
||||
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()
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"tag": "1.3-02",
|
||||
"title": "PreBuild Version 1.3 - 02"
|
||||
"tag": "1.3-03",
|
||||
"title": "PreBuild Version 1.3 - 03"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user