diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.go | 1 | ||||
| -rw-r--r-- | config/default.conf.json | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go index b1022e2..44640c2 100644 --- a/config/config.go +++ b/config/config.go @@ -12,6 +12,7 @@ type Configuration struct { UserAgent string Stores []map[string]string Port int + Ip string } func NewConfiguration(path string) *Configuration { diff --git a/config/default.conf.json b/config/default.conf.json index 2b7520e..03362ec 100644 --- a/config/default.conf.json +++ b/config/default.conf.json @@ -1,5 +1,6 @@ { "Port": 8080, + "Ip": "127.0.0.1", "MaxFileSize": 20971520, "HashLength": 7, "UserAgent": "Mandible", |
