Skip to content

Commit

Permalink
EIP & loc from current
Browse files Browse the repository at this point in the history
  • Loading branch information
xenotor committed Jun 2, 2017
1 parent 0255e2f commit d8e19d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file modified dist/chrometizer
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/md5sum.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1a3f35cd591170051ff206dc4bb871dc chrometizer
bbd2670fe1a977ef11f61387aa7e60d9 chrometizer
6 changes: 3 additions & 3 deletions web/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ func HandleConfig(w http.ResponseWriter, r *http.Request) {
return
}

if len(temp_conf.Server_eip) < 10 {
temp_conf.Server_eip = config.Conf.Server_eip
}
// copy the current eip & loc; no UI for now
temp_conf.Server_eip = config.Conf.Server_eip
temp_conf.Config_loc = config.Conf.Config_loc

config.Conf = temp_conf
err = config.StoreConfig()
Expand Down

0 comments on commit d8e19d6

Please sign in to comment.