13 lines
208 B
Go
13 lines
208 B
Go
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
|
|
}
|
|
|
|
}
|