hozonsite/mime.go

16 lines
334 B
Go

package main
func getmime () map[string]string {
return map[string]string {
"text/css": ".css",
"text/javascript": ".js",
"image/png": ".png",
"image/jpeg": ".jpg",
"image/webp": ".webp",
"image/gif": ".gif",
"font/ttf": ".ttf",
"font/woff2": ".woff2",
"image/vnd.microsoft.icon": ".ico",
}
}