mirror of
https://github.com/kopia/kopia.git
synced 2026-01-25 06:48:48 -05:00
* Replace htmlui_fallback.go with go:embed * Replace go-bindata generated UI with go:embed * Update site Go version to 1.16 * Update BUILD.md to reflect workflow with go:embed
14 lines
159 B
Go
14 lines
159 B
Go
// +build embedhtml
|
|
|
|
package server
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/kopia/kopia/htmlui"
|
|
)
|
|
|
|
func AssetFile() http.FileSystem {
|
|
return htmlui.AssetFile()
|
|
}
|