minimal config changes
arnaucode idoctnef@openmailbox.org
Wed, 21 Jun 2017 20:08:46 +0200
2 files changed,
2 insertions(+),
2 deletions(-)
M
config.json
→
config.json
@@ -1,5 +1,5 @@
{ - "serverIP": "127.0.0.1", + "serverIP": "192.168.1.36", "serverPort": "3050", "folder": "files", "blockedIPs": [
M
handlers.go
→
handlers.go
@@ -63,5 +63,5 @@ if err != nil {
fmt.Println(err) } - fmt.Fprintln(w, config.ServerIP+":"+config.ServerPort+"/images/"+fileName) + fmt.Fprintln(w, "http://"+config.ServerIP+":"+config.ServerPort+"/images/"+fileName) }