Fix typo and remove trailing space

pull/968/head
Lysander Trischler 1 month ago
parent b970a56f03
commit 87ba99abbd
  1. 2
      Makefile
  2. 2
      internal/server.go

@ -96,4 +96,4 @@ tr:
@goi18n merge -outdir ./internal/langs ./internal/langs/active.*.toml
tr-merge:
@goi18n merge -outdir ./internal/langs ./internal/langs/active.*.toml ./internal/langs/translate.*.toml
@goi18n merge -outdir ./internal/langs ./internal/langs/active.*.toml ./internal/langs/translate.*.toml

@ -711,7 +711,7 @@ func (s *Server) initRoutes() {
staticFS = os.DirFS(staticDir)
}
// To serve up artbitrary static assets in /path/to/theme/static/custom/...
// To serve up arbitrary static assets in /path/to/theme/static/custom/...
s.router.Static("/custom/*filepath", filepath.Join(staticDir, "custom"))
if s.config.Debug {

Loading…
Cancel
Save