Add missing slash
This commit is contained in:
parent
83cc8f9921
commit
33fc4a9df4
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