mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-11 03:13:24 +00:00
fix: harden media URL handling
This commit is contained in:
1 parent
fef98b4dd7
commit
1dea4a21cf
6 files changed
+87
-16
No files matched your search
@@ -254,7 +254,7 @@ func resolveRemoteCDP(remoteURL string) (string, error) {
|
||||
defer resp.Body.Close()
|
||||
|
||||
if resp.StatusCode != http.StatusOK {
|
||||
return "", fmt.Errorf("/json/version returned HTTP %d", resp.StatusCode)
|
||||
return "", fmt.Errorf("query /json/version at %s returned HTTP %d", versionURL, resp.StatusCode)
|
||||
}
|
||||
|
||||
var ver struct {
|
||||
|
||||
Reference in new issue
Block a user