summaryrefslogtreecommitdiff
path: root/static.go
blob: 3c32d6bc97cf47d542e1372a93b665a22d1464ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2013 The Go Authors.  All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build !appengine

// 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))
}