forked from electricdusk/rushlink
Always show the shortened URL; optionally print the deleteToken URL
This commit is contained in:
parent
01580bfe2a
commit
d0b8a9ab9e
@ -1,5 +1,4 @@
|
|||||||
|
https://{{.Request.Host}}/{{.Paste.Key}}
|
||||||
{{if .Request.PostForm.deleteToken -}}
|
{{if .Request.PostForm.deleteToken -}}
|
||||||
https://{{.Request.Host}}/{{.Paste.Key}}?deleteToken={{.Paste.DeleteToken | urlquery}}
|
https://{{.Request.Host}}/{{.Paste.Key}}?deleteToken={{.Paste.DeleteToken | urlquery}}
|
||||||
{{else -}}
|
|
||||||
https://{{.Request.Host}}/{{.Paste.Key}}
|
|
||||||
{{end -}}
|
{{end -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user