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:
parent
5ed865d2e4
commit
96a4b57924
4 changed files with 65 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue