Skip to content

Commit 12cbf5c

Browse files
committed
allow svg format
1 parent 1d488d2 commit 12cbf5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/txpfiber/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
func HandleCompile(c *fiber.Ctx) error {
1616
reqFormat := c.Query("format", "pdf")
17-
if reqFormat != "pdf" && reqFormat != "png" {
17+
if reqFormat != "pdf" && reqFormat != "png" && reqFormat != "svg" {
1818
c.SendStatus(fiber.ErrNotImplemented.Code)
1919
}
2020
tName := c.Params("templateName", "")

0 commit comments

Comments
 (0)