Add missing slash
This commit is contained in:
parent
2b6d33bda0
commit
e4138172af
2
main.go
2
main.go
|
@ -95,7 +95,7 @@ func save(raw string, lang string) []string {
|
||||||
if lang == "" {
|
if lang == "" {
|
||||||
url := ADDRESS + "/p/" + id
|
url := ADDRESS + "/p/" + id
|
||||||
} else {
|
} else {
|
||||||
url := ADDRESS + "/p/" + id + "/" lang
|
url := ADDRESS + "/p/" + id + "/" + lang
|
||||||
}
|
}
|
||||||
delKey := uniuri.NewLen(40)
|
delKey := uniuri.NewLen(40)
|
||||||
paste := html.EscapeString(raw)
|
paste := html.EscapeString(raw)
|
||||||
|
|
Loading…
Reference in New Issue