rushlink/assets/templates/html/newRedirectPasteSuccess.html.tmpl

16 lines
582 B
Cheetah
Raw Normal View History

2019-09-21 21:03:31 +02:00
{{define "title"}}
Success - rushlink
{{end}}
{{define "body"}}
<pre>
https://{{.Request.Host}}/{{.Paste.Key}}
---
# View metadata
curl <a href="https://{{.Request.Host}}/{{.Paste.Key}}/meta?deleteToken={{.Paste.DeleteToken | urlquery}}">https://{{.Request.Host}}/{{.Paste.Key}}/meta?deleteToken={{.Paste.DeleteToken | urlquery}}</a>
# Delete this object
curl --request DELETE <a href="https://{{.Request.Host}}/{{.Paste.Key}}?deleteToken={{.Paste.DeleteToken | urlquery}}">https://{{.Request.Host}}/{{.Paste.Key}}?deleteToken={{.Paste.DeleteToken | urlquery}}</a>
</pre>
2019-09-21 21:03:31 +02:00
{{end}}