Fixed bug where -v + -s stops -s from working
This commit is contained in:
parent
f332fb24a8
commit
0b7b9983a5
|
@ -138,11 +138,11 @@ func serveHtmlHandler(paths []string) http.HandlerFunc {
|
||||||
|
|
||||||
if Successive {
|
if Successive {
|
||||||
refererUri := refererToUri(r.Referer())
|
refererUri := refererToUri(r.Referer())
|
||||||
if refererUri != "" && Verbose {
|
if refererUri != "" {
|
||||||
|
if Verbose {
|
||||||
fmt.Printf("Referer is %v\n", refererUri)
|
fmt.Printf("Referer is %v\n", refererUri)
|
||||||
}
|
}
|
||||||
|
|
||||||
if refererUri != "" {
|
|
||||||
f, err := url.QueryUnescape(refererUri)
|
f, err := url.QueryUnescape(refererUri)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
|
|
Loading…
Reference in New Issue