From c92ae654815366e62ca73f3f1029c0e8f5276469 Mon Sep 17 00:00:00 2001 From: Tucker Gary Siegel <tgsiegel@terpmail.umd.edu> Date: Mon, 4 Oct 2021 19:58:00 -0400 Subject: [PATCH] change port --- config/local | 2 +- docs/docs.go | 2 +- docs/swagger.json | 2 +- docs/swagger.yaml | 2 +- main.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/local b/config/local index f6cbf19..02760f3 100644 --- a/config/local +++ b/config/local @@ -6,7 +6,7 @@ app: server: host: "localhost" - port: 8080 + port: 5000 context-path: "/api/weather" db: diff --git a/docs/docs.go b/docs/docs.go index f978dfd..f8b7255 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -935,7 +935,7 @@ type swaggerInfo struct { // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = swaggerInfo{ Version: "1.0", - Host: "localhost:8080", + Host: "localhost:5000", BasePath: "/", Schemes: []string{}, Title: "Dawn GDD Service", diff --git a/docs/swagger.json b/docs/swagger.json index 8907929..2b50e73 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -9,7 +9,7 @@ }, "version": "1.0" }, - "host": "localhost:8080", + "host": "localhost:5000", "basePath": "/", "paths": { "/api/weather/freezing-dates": { diff --git a/docs/swagger.yaml b/docs/swagger.yaml index ad514eb..b5bcd7e 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -128,7 +128,7 @@ definitions: type: number type: array type: object -host: localhost:8080 +host: localhost:5000 info: contact: email: tgsiegel@umd.edu diff --git a/main.go b/main.go index 8cc1885..9764806 100644 --- a/main.go +++ b/main.go @@ -111,7 +111,7 @@ func init() { // @description All operations for GDD/Freezing Date data // @contact.name API Support // @contact.email tgsiegel@umd.edu -// @host localhost:8080 +// @host localhost:5000 // @BasePath / func main() { flag.Parse() -- GitLab