feat(fonts): add fonts storage
build / Go-Build (pull_request) Successful in 1m24s
build / Go-Build (push) Successful in 38s

This commit is contained in:
tueem committed 2026-02-12 14:16:37 +01:00
1 parent fffd276238
commit 7a9cf7ab93
5 files changed
+94 -5

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
package routes
import "net/http"
func AddFont(w http.ResponseWriter, r *http.Request) {
if r.Header.Get("Content-Type") != "font/ttf" {
http.Error(w, "", http.StatusUnsupportedMediaType)
return
}
}