about summary refs log tree commit diff stats
path: root/cmd/cspgenerator/cspgenerator.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/cspgenerator/cspgenerator.go')
-rw-r--r--cmd/cspgenerator/cspgenerator.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/cmd/cspgenerator/cspgenerator.go b/cmd/cspgenerator/cspgenerator.go
new file mode 100644
index 0000000..f79a591
--- /dev/null
+++ b/cmd/cspgenerator/cspgenerator.go
@@ -0,0 +1,13 @@
+package main
+
+import (
+	"log"
+	"website/internal/config"
+)
+
+func main() {
+	err := config.GenerateCSP()
+	if err != nil {
+		log.Fatal(err)
+	}
+}