fix parsing mistake

This commit is contained in:
DutchEllie 2021-09-08 23:01:19 +02:00
parent 786b8b7043
commit 20e3925c4a
1 changed files with 3 additions and 2 deletions

View File

@ -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
} }