1
0
Fork 0
mirror of https://github.com/vbatts/imgsrv.git synced 2025-07-07 09:38:30 +00:00

client can upload now, but the response body is a whole page, not just

the url
This commit is contained in:
Vincent Batts 2013-10-09 17:02:38 -04:00
parent 5ed865d2e4
commit 96a4b57924
4 changed files with 65 additions and 19 deletions

View file

@ -64,7 +64,7 @@ func (c *Config) Merge(other *Config) error {
if len(other.MongoPassword) > 0 {
c.MongoPassword = other.MongoPassword
}
if len(other.RemoteHost) > 0 {
if len(other.RemoteHost) > 0 && len(c.RemoteHost) == 0 {
c.RemoteHost = other.RemoteHost
}
return nil