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
|
||||
// o7
|
||||
|
||||
resp, err := http.Get(app.pepeServer + "/pepe")
|
||||
url := "http://" + app.pepeServer + "/pepe"
|
||||
app.infoLog.Printf("Request url: %s", url)
|
||||
resp, err := http.Get(url)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue