feat(template): add Templating functionality and endpoint
All checks were successful
build / Go-Build (push) Successful in 1m38s
build / Go-Build (pull_request) Successful in 39s

This commit is contained in:
2026-02-09 11:09:19 +01:00
parent de3ba44093
commit 205b70eeab
7 changed files with 208 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ import (
"tomatentum.net/svg-templater/pkg/svg/actions"
)
func CreateSVG(writer http.ResponseWriter, r http.Request) {
func CreateSVG(writer http.ResponseWriter, r *http.Request) {
contentType := r.Header.Get("Content-Type")
if contentType != "image/svg+xml" {