Skip to content

Commit

Permalink
Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
thechubbypanda committed Jul 3, 2024
1 parent 7899c17 commit e386ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func main() {

cspParts := []string{"default-src 'self'", "style-src 'self' 'unsafe-inline'"}
scriptSources := []string{"unpkg.com"}
var connectSources := []string{"self"}
connectSources := []string{"self"}
if cfg.Plausible.ScriptUrl != "" {
scriptSources = append(scriptSources, cfg.Plausible.Origin)
connectSources = append(connectSources, cfg.Plausible.Origin)
Expand Down

0 comments on commit e386ee2

Please sign in to comment.