Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vvalerio-priv committed Mar 5, 2024
1 parent e7a537c commit 49efc23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions cmd/methods/genericfunctions.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ func SetupProvidedIPs(externalip string) error {

func PrintUrls() {

os.Setenv("PORTAL_URL_READY", "http://"+os.Getenv("API_HOST_ENV")+":"+os.Getenv("DATA_PORTAL_PORT"))
os.Setenv("API_URL_READY", "http://"+os.Getenv("API_HOST_ENV")+":"+os.Getenv("API_PORT")+os.Getenv("DEPLOY_PATH")+"api/v1/ui/")

fmt.Println(string(colorCyan), `Open Source Docker deploy
&&&&&&&&&&&&&&&&&& *&&&&&&&%&&&% ***************** &&&&&&/
Expand All @@ -162,8 +165,8 @@ func PrintUrls() {
Copyright (C) 2023 EPOS ERIC`, string(colorReset))
t := table.NewWriter()
t.SetTitle("EPOS ACCESS POINTS")
t.AppendRow(table.Row{"EPOS Data Portal", "http://" + os.Getenv("API_HOST_ENV") + ":" + os.Getenv("DATA_PORTAL_PORT")})
t.AppendRow(table.Row{"EPOS API Gateway", "http://" + os.Getenv("API_HOST_ENV") + ":" + os.Getenv("API_PORT") + os.Getenv("DEPLOY_PATH") + os.Getenv("API_PATH") + "/ui/"})
t.AppendRow(table.Row{"EPOS Data Portal", os.Getenv("PORTAL_URL_READY")})
t.AppendRow(table.Row{"EPOS API Gateway", os.Getenv("API_URL_READY")})
t.SetStyle(table.StyleColoredBlackOnGreenWhite)
fmt.Println(t.Render())
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/methods/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
package methods

func GetVersion() string {
return "1.1.3"
return "1.1.4"
}

0 comments on commit 49efc23

Please sign in to comment.