aboutsummaryrefslogtreecommitdiffhomepage
path: root/commands
diff options
context:
space:
mode:
authorChristian Oliff <[email protected]>2024-04-11 16:23:17 +0900
committerGitHub <[email protected]>2024-04-11 09:23:17 +0200
commit17765a74518f720b3a5a90adaa0dfad1f5cfaf76 (patch)
treeda2c302b6cb33057c430432037197e5583f1a84e /commands
parent92de8625c7f122343059e98c62d1049e27bb2573 (diff)
downloadhugo-17765a74518f720b3a5a90adaa0dfad1f5cfaf76.tar.gz
hugo-17765a74518f720b3a5a90adaa0dfad1f5cfaf76.zip
all: Typo fixes
Diffstat (limited to 'commands')
-rw-r--r--commands/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/server.go b/commands/server.go
index afc539c44..870283bba 100644
--- a/commands/server.go
+++ b/commands/server.go
@@ -307,7 +307,7 @@ func (f *fileServer) createEndpoint(i int) (*http.ServeMux, net.Listener, string
if redirect := serverConfig.MatchRedirect(requestURI); !redirect.IsZero() {
// fullName := filepath.Join(dir, filepath.FromSlash(path.Clean("/"+name)))
doRedirect := true
- // This matches Netlify's behaviour and is needed for SPA behaviour.
+ // This matches Netlify's behavior and is needed for SPA behavior.
// See https://docs.netlify.com/routing/redirects/rewrites-proxies/
if !redirect.Force {
path := filepath.Clean(strings.TrimPrefix(requestURI, baseURL.Path()))