all repos — website @ 7b82d3ef3e93c0c8efe489d6b11b30f092667bf2

My website

cmd/cspgenerator/cspgenerator.go (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
package main

import (
	"go.alanpearce.eu/website/internal/config"
	"go.alanpearce.eu/website/internal/log"
)

func main() {
	err := config.GenerateCSP()
	if err != nil {
		log.Fatal("error generating csp", "error", err)
	}
}