Skip to content

Commit

Permalink
Merge pull request #37 from bagashiz/main
Browse files Browse the repository at this point in the history
fix(deploy): update docs host to 0.0.0.0
  • Loading branch information
bagashiz authored Sep 23, 2023
2 parents 085a55d + 3c20fd9 commit 522931e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/http/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func init() {
// @license.name MIT
// @license.url https://github.com/bagashiz/go-pos/blob/main/LICENSE
//
// @host localhost:8080
// @host 0.0.0.0:8080
// @BasePath /v1
// @schemes http https
//
Expand Down
2 changes: 1 addition & 1 deletion docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2058,7 +2058,7 @@ const docTemplate = `{
// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
Version: "1.0",
Host: "localhost:8080",
Host: "0.0.0.0:8080",
BasePath: "/v1",
Schemes: []string{"http", "https"},
Title: "Go POS (Point of Sale) API",
Expand Down
2 changes: 1 addition & 1 deletion docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"version": "1.0"
},
"host": "localhost:8080",
"host": "0.0.0.0:8080",
"basePath": "/v1",
"paths": {
"/categories": {
Expand Down
2 changes: 1 addition & 1 deletion docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ definitions:
example: "1970-01-01T00:00:00Z"
type: string
type: object
host: localhost:8080
host: 0.0.0.0:8080
info:
contact:
email: bagash.office@simplelogin.com
Expand Down

0 comments on commit 522931e

Please sign in to comment.