Return complete URL after shortening, fixes #13
This commit is contained in:
parent
e7b71eca69
commit
01580bfe2a
@ -1,5 +1,5 @@
|
||||
{{if .Request.PostForm.deleteToken -}}
|
||||
{{.Request.Host}}/{{.Paste.Key}}?deleteToken={{.Paste.DeleteToken | urlquery}}
|
||||
https://{{.Request.Host}}/{{.Paste.Key}}?deleteToken={{.Paste.DeleteToken | urlquery}}
|
||||
{{else -}}
|
||||
{{.Request.Host}}/{{.Paste.Key}}
|
||||
https://{{.Request.Host}}/{{.Paste.Key}}
|
||||
{{end -}}
|
||||
|
Loading…
Reference in New Issue
Block a user