summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/server.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/server.go b/system/server.go
index d529d31..3d22b1d 100644
--- a/system/server.go
+++ b/system/server.go
@@ -70,8 +70,8 @@ func main() {
scheme := req.URL.Scheme
host := req.URL.Host
path := req.URL.Path
- id = fmt.Sprintf("%d", id)
- desURL := scheme + host + path + "?type=" + t + "&id=" + id
+ sid := fmt.Sprintf("%d", id)
+ desURL := scheme + host + path + "?type=" + t + "&id=" + sid
http.Redirect(res, req, desURL, http.StatusFound)
}
})