blob: 4064fb36cd3e1fc6b438f135e6c0d4698ac78699 [file] [log] [blame]
// Copyright 2017 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.
package main
import (
"net/http"
"path/filepath"
)
func bzrHandler() http.Handler {
return http.StripPrefix("/bzr/", http.FileServer(http.Dir(filepath.Join(*dir, "bzr"))))
}