feat(template): add Templating functionality and endpoint
This commit is contained in:
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user