Skip to content

Commit a148bf6

Browse files
committed
Fix default listen adress, update version
1 parent 53a5920 commit a148bf6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apiserver/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type Config struct {
4848
// NewConfig creates and initializes a new Config with default values.
4949
func NewConfig() *Config {
5050
return &Config{
51-
ServerAddr: "localhost:8080",
51+
ServerAddr: ":8080",
5252
TLSCertFile: "cert.pem",
5353
TLSKeyFile: "key.pem",
5454
APIPrefix: "/",

apiserver/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
)
2020

2121
// Version tag.
22-
var Version = "3.1.3"
22+
var Version = "3.1.4"
2323

2424
// Run is the entrypoint for the freegeoip server.
2525
func Run() {

cmd/freegeoip/ansible-playbook/freegeoip.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- redis
1111
vars:
1212
nodeexporter_url: http://github.com/prometheus/node_exporter/releases/download/0.11.0/node_exporter-0.11.0.linux-amd64.tar.gz
13-
freegeoip_url: https://github.com/fiorix/freegeoip/releases/download/v3.1.3/freegeoip-3.1.3-linux-amd64.tar.gz
13+
freegeoip_url: https://github.com/fiorix/freegeoip/releases/download/v3.1.4/freegeoip-3.1.4-linux-amd64.tar.gz
1414
freegeoip_params:
1515
- -http=:80
1616
- -https=:443

0 commit comments

Comments
 (0)