diff options
author | Christian Oliff <[email protected]> | 2024-04-11 16:23:17 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-11 09:23:17 +0200 |
commit | 17765a74518f720b3a5a90adaa0dfad1f5cfaf76 (patch) | |
tree | da2c302b6cb33057c430432037197e5583f1a84e /commands | |
parent | 92de8625c7f122343059e98c62d1049e27bb2573 (diff) | |
download | hugo-17765a74518f720b3a5a90adaa0dfad1f5cfaf76.tar.gz hugo-17765a74518f720b3a5a90adaa0dfad1f5cfaf76.zip |
all: Typo fixes
Diffstat (limited to 'commands')
-rw-r--r-- | commands/server.go | 2 |
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())) |