tstor/http_fs.go
Antonio Navarro Perez 0e2288565d
Reload server and edit configuration. (#15)
The first iteration for config editor and server reload from the web interface.
2020-11-08 18:19:25 +01:00

15 lines
288 B
Go

// +build !release
package distribyted
//go:generate go run ./build_tools/assets_generate/main.go
import (
"net/http"
"github.com/shurcooL/httpfs/union"
)
var HttpFS = union.New(map[string]http.FileSystem{
"/assets": http.Dir("assets"),
"/templates": http.Dir("templates"),
})