all repos — website @ c4b57d28caa8986d9fbdcbdb4085c8e74974dffc

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)
	}
}