summaryrefslogtreecommitdiffstats
path: root/contrib/pr
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pr')
-rw-r--r--contrib/pr/checkout.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/contrib/pr/checkout.go b/contrib/pr/checkout.go
index 85476afd01..09510ac2c5 100644
--- a/contrib/pr/checkout.go
+++ b/contrib/pr/checkout.go
@@ -14,7 +14,6 @@ import (
"fmt"
"log"
"net/http"
- "net/url"
"os"
"os/exec"
"os/user"
@@ -62,11 +61,7 @@ func runPR() {
}
setting.AppWorkPath = curDir
setting.StaticRootPath = curDir
- setting.GravatarSourceURL, err = url.Parse("https://secure.gravatar.com/avatar/")
- if err != nil {
- log.Fatalf("url.Parse: %v\n", err)
- }
-
+ setting.GravatarSource = "https://secure.gravatar.com/avatar/"
setting.AppURL = "http://localhost:8080/"
setting.HTTPPort = "8080"
setting.SSH.Domain = "localhost"