Skip to content

Commit c8f2ca8

Browse files
committed
fix: update API host from localhost to production URL
1 parent 5a0e941 commit c8f2ca8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
// @title Portfolio Builder API
1717
// @version 1.0
1818
// @description Uma API open source para o gerenciamento de portfólios de desenvolvedores.
19-
// @host localhost:8080
19+
// @host https://portfolio-builder.site
2020
// @BasePath /api
2121
func main() {
2222
config.LoadEnv()

docs/docs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ const docTemplate = `{
591591
// SwaggerInfo holds exported Swagger Info so clients can modify it
592592
var SwaggerInfo = &swag.Spec{
593593
Version: "1.0",
594-
Host: "localhost:8080",
594+
Host: "https://portfolio-builder.site",
595595
BasePath: "/api",
596596
Schemes: []string{},
597597
Title: "Portfolio Builder API",

docs/swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"contact": {},
77
"version": "1.0"
88
},
9-
"host": "localhost:8080",
9+
"host": "https://portfolio-builder.site",
1010
"basePath": "/api",
1111
"paths": {
1212
"/health": {

docs/swagger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ definitions:
8181
example: Usuário cadastrado com sucesso
8282
type: string
8383
type: object
84-
host: localhost:8080
84+
host: https://portfolio-builder.site
8585
info:
8686
contact: {}
8787
description: Uma API open source para o gerenciamento de portfólios de desenvolvedores.

0 commit comments

Comments
 (0)