Skip to content
Snippets Groups Projects
Commit c92ae654 authored by Tucker Gary Siegel's avatar Tucker Gary Siegel
Browse files

change port

parent 460e743c
No related branches found
No related tags found
1 merge request!6change port
...@@ -6,7 +6,7 @@ app: ...@@ -6,7 +6,7 @@ app:
server: server:
host: "localhost" host: "localhost"
port: 8080 port: 5000
context-path: "/api/weather" context-path: "/api/weather"
db: db:
......
...@@ -935,7 +935,7 @@ type swaggerInfo struct { ...@@ -935,7 +935,7 @@ type swaggerInfo struct {
// SwaggerInfo holds exported Swagger Info so clients can modify it // SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = swaggerInfo{ var SwaggerInfo = swaggerInfo{
Version: "1.0", Version: "1.0",
Host: "localhost:8080", Host: "localhost:5000",
BasePath: "/", BasePath: "/",
Schemes: []string{}, Schemes: []string{},
Title: "Dawn GDD Service", Title: "Dawn GDD Service",
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
}, },
"version": "1.0" "version": "1.0"
}, },
"host": "localhost:8080", "host": "localhost:5000",
"basePath": "/", "basePath": "/",
"paths": { "paths": {
"/api/weather/freezing-dates": { "/api/weather/freezing-dates": {
......
...@@ -128,7 +128,7 @@ definitions: ...@@ -128,7 +128,7 @@ definitions:
type: number type: number
type: array type: array
type: object type: object
host: localhost:8080 host: localhost:5000
info: info:
contact: contact:
email: tgsiegel@umd.edu email: tgsiegel@umd.edu
......
...@@ -111,7 +111,7 @@ func init() { ...@@ -111,7 +111,7 @@ func init() {
// @description All operations for GDD/Freezing Date data // @description All operations for GDD/Freezing Date data
// @contact.name API Support // @contact.name API Support
// @contact.email tgsiegel@umd.edu // @contact.email tgsiegel@umd.edu
// @host localhost:8080 // @host localhost:5000
// @BasePath / // @BasePath /
func main() { func main() {
flag.Parse() flag.Parse()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment