aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/server.go2
-rw-r--r--server/static/bin.go2
-rw-r--r--server/static/css.go2
-rw-r--r--server/static/js.go2
-rw-r--r--server/template/common.go2
-rw-r--r--server/template/views.go2
6 files changed, 6 insertions, 6 deletions
diff --git a/server/server.go b/server/server.go
index 9ab0ab8..61b6229 100644
--- a/server/server.go
+++ b/server/server.go
@@ -20,7 +20,7 @@ func NewServer(cfg *config.Config, store *storage.Storage, feedHandler *feed.Han
ReadTimeout: 5 * time.Second,
WriteTimeout: 10 * time.Second,
IdleTimeout: 60 * time.Second,
- Addr: cfg.Get("LISTEN_ADDR", "127.0.0.1:8080"),
+ Addr: cfg.Get("LISTEN_ADDR", config.DefaultListenAddr),
Handler: getRoutes(cfg, store, feedHandler),
}
diff --git a/server/static/bin.go b/server/static/bin.go
index ae5a4b2..74c9e71 100644
--- a/server/static/bin.go
+++ b/server/static/bin.go
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
-// 2017-11-21 19:31:59.626742594 -0800 PST m=+0.005741442
+// 2017-11-21 20:18:16.027243814 -0800 PST m=+0.006676650
package static
diff --git a/server/static/css.go b/server/static/css.go
index 11e827e..72176a6 100644
--- a/server/static/css.go
+++ b/server/static/css.go
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
-// 2017-11-21 19:31:59.629675274 -0800 PST m=+0.008674122
+// 2017-11-21 20:18:16.030648994 -0800 PST m=+0.010081830
package static
diff --git a/server/static/js.go b/server/static/js.go
index 07f2de0..b10a45d 100644
--- a/server/static/js.go
+++ b/server/static/js.go
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
-// 2017-11-21 19:31:59.631783539 -0800 PST m=+0.010782387
+// 2017-11-21 20:18:16.035467739 -0800 PST m=+0.014900575
package static
diff --git a/server/template/common.go b/server/template/common.go
index 2dc24c6..7d437c5 100644
--- a/server/template/common.go
+++ b/server/template/common.go
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
-// 2017-11-21 19:31:59.643994492 -0800 PST m=+0.022993340
+// 2017-11-21 20:18:16.064392532 -0800 PST m=+0.043825368
package template
diff --git a/server/template/views.go b/server/template/views.go
index cfa571f..3d875ce 100644
--- a/server/template/views.go
+++ b/server/template/views.go
@@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
-// 2017-11-21 19:31:59.633723314 -0800 PST m=+0.012722162
+// 2017-11-21 20:18:16.038376976 -0800 PST m=+0.017809812
package template