summary refs log tree commit diff stats
path: root/types.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-05-13 17:20:40 -0400
committerBen Morrison <ben@gbmor.dev>2019-05-13 17:22:28 -0400
commitd6fbc25111a9a76b40f19b2481428a9170c706b0 (patch)
treed071366939de7a6994c56153f81b16e836883043 /types.go
parent9d31e04f8ec8c53c6f6e2323d7422b86b7a4ad90 (diff)
downloadgetwtxt-d6fbc25111a9a76b40f19b2481428a9170c706b0.tar.gz
serving css virtually instead of directly
Diffstat (limited to 'types.go')
-rw-r--r--types.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/types.go b/types.go
index 35f70b3..c7d1c50 100644
--- a/types.go
+++ b/types.go
@@ -1,8 +1,9 @@
 package main
 
 // content-type consts
-const txtutf8 = "text/plain; charset=utf8"
-const htmlutf8 = "text/html; charset=utf8"
+const txtutf8 = "text/plain; charset=utf-8"
+const htmlutf8 = "text/html; charset=utf-8"
+const cssutf8 = "text/css; charset=utf-8"
 
 // config object definition
 type configuration struct {