aboutsummaryrefslogtreecommitdiff
path: root/assets.go
diff options
context:
space:
mode:
Diffstat (limited to 'assets.go')
-rw-r--r--assets.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/assets.go b/assets.go
new file mode 100644
index 0000000..0905228
--- /dev/null
+++ b/assets.go
@@ -0,0 +1,8 @@
+package main
+
+import "net/http"
+
+func init() {
+ http.Handle("/css/", http.FileServer(http.Dir("assets")))
+ http.Handle("/fonts/", http.FileServer(http.Dir("assets")))
+}