diff options
Diffstat (limited to 'internal/server')
-rw-r--r-- | internal/server/mux.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/server/mux.go b/internal/server/mux.go index 83fde10..16f9226 100644 --- a/internal/server/mux.go +++ b/internal/server/mux.go @@ -40,6 +40,7 @@ func applyDevModeOverrides(cfg *config.Config) { } cfg.Web.ContentSecurityPolicy.ScriptSrc = append( cfg.Web.ContentSecurityPolicy.ScriptSrc, + cfg.Web.BaseURL.JoinPath("_templ/reload/script.js").String(), "http://localhost:7331", "'unsafe-inline'", ) |