fix parsing mistake
This commit is contained in:
parent
786b8b7043
commit
20e3925c4a
@ -35,8 +35,9 @@ func (app *application) getPepeLink() (string, error) {
|
|||||||
|
|
||||||
// The above function is old and useless. The website bbwroller.com is down
|
// The above function is old and useless. The website bbwroller.com is down
|
||||||
// o7
|
// o7
|
||||||
|
url := "http://" + app.pepeServer + "/pepe"
|
||||||
resp, err := http.Get(app.pepeServer + "/pepe")
|
app.infoLog.Printf("Request url: %s", url)
|
||||||
|
resp, err := http.Get(url)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user