summaryrefslogtreecommitdiff
path: root/static.go
blob: 232340051d953f0caee66404110d58b22d61df19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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))
}