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