aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Cameron <git@jasoncameron.dev>2025-03-30 22:24:47 -0400
committerGitHub <noreply@github.com>2025-03-30 22:24:47 -0400
commitfeca1ddeead4a0138a7fbb3754509a814e0a4154 (patch)
treeb98f05b3110374a59d1590bb6fcdb01ee4c28699
parenteab62f7611cb73ce4a42f3c668add023ad2530be (diff)
downloadanubis-feca1ddeead4a0138a7fbb3754509a814e0a4154.tar.xz
anubis-feca1ddeead4a0138a7fbb3754509a814e0a4154.zip
Fix: Correct typo in challenge page title (main) (#174)
- Fixed a typo in the challenge page title, removing an unnecessary backslash. - Updated the index page title to "Making sure you're not a bot!". Signed-off-by: Jason Cameron <git@jasoncameron.dev>
-rw-r--r--docs/docs/CHANGELOG.md1
-rw-r--r--lib/anubis.go2
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/docs/CHANGELOG.md b/docs/docs/CHANGELOG.md
index 7fbd1b3..eeab0ef 100644
--- a/docs/docs/CHANGELOG.md
+++ b/docs/docs/CHANGELOG.md
@@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Use `TrimSuffix` instead of `TrimRight` on containerbuild
- Fix the startup logs to correctly show the address and port the server is listening on
- Add [LibreJS](https://www.gnu.org/software/librejs/) banner to Anubis JavaScript to allow LibreJS users to run the challenge
+- Fixed a typo in the challenge page title.
- Disabled running integration tests on Windows hosts due to it's reliance on posix features (see [#133](https://github.com/TecharoHQ/anubis/pull/133#issuecomment-2764732309)).
## v1.15.0
diff --git a/lib/anubis.go b/lib/anubis.go
index 939262a..1b2ebfc 100644
--- a/lib/anubis.go
+++ b/lib/anubis.go
@@ -332,7 +332,7 @@ func (s *Server) MaybeReverseProxy(w http.ResponseWriter, r *http.Request) {
func (s *Server) RenderIndex(w http.ResponseWriter, r *http.Request) {
handler := internal.NoStoreCache(
templ.Handler(
- web.Base("Making sure you\\'re not a bot!", web.Index()),
+ web.Base("Making sure you're not a bot!", web.Index()),
),
)
handler.ServeHTTP(w, r)