summaryrefslogtreecommitdiff
path: root/static.go
blob: 0b16307834514b26849db4af23929fb69c0094a5 (plain)
1
2
3
4
5
6
7
8
9
10
// This file implements a stand-alone blog server.

package main

import "net/http"

func init() {
	fs := http.FileServer(http.Dir("htdocs/static"))
	http.Handle("/static/", http.StripPrefix("/static/", fs))
}