diff options
| author | Fuwn <[email protected]> | 2021-09-02 02:07:45 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-09-02 02:07:45 +0000 |
| commit | 3b53bdf685a67ee369daf079cb172aada8fad4c3 (patch) | |
| tree | ef8dec5b2d9ce7f647b24d43389180f413d04fb2 | |
| parent | fix(docker): .space to .me (diff) | |
| download | capybara-3b53bdf685a67ee369daf079cb172aada8fad4c3.tar.xz capybara-3b53bdf685a67ee369daf079cb172aada8fad4c3.zip | |
fix(main): remove redundant type conversion
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ var gemtextPage = template.Must(template. "url": func(ctx *GemtextContext, s string) template.URL { u, err := url.Parse(s) if err != nil { - return template.URL("error") + return "error" } u = ctx.URL.ResolveReference(u) |