aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/template.go b/template.go
index 7ddc460..70453b0 100644
--- a/template.go
+++ b/template.go
@@ -68,7 +68,7 @@ var tpltext = `<!doctype html>
68 </div> 68 </div>
69 <div class="actions"> 69 <div class="actions">
70 {{- if and (not .Lines) (not .Error) (eq .Protocol "gopher") -}} 70 {{- if and (not .Lines) (not .Error) (eq .Protocol "gopher") -}}
71 <div class="action"><a href="/{{ .URI | replace "^(.*?)/0" "$1/9" }}">View raw</a></div> 71 <div class="action"><a href="/gopher/{{ .URI | replace "^([^/]*)/0" "$1/9" }}">View raw</a></div>
72 {{- end -}} 72 {{- end -}}
73 <div class="action"><button class="settings-btn">Settings</button></div> 73 <div class="action"><button class="settings-btn">Settings</button></div>
74 </div> 74 </div>