mirror of
https://github.com/kopia/kopia.git
synced 2026-01-21 12:57:55 -05:00
18 lines
264 B
Go
18 lines
264 B
Go
//go:build nohtmlui
|
|
// +build nohtmlui
|
|
|
|
package server
|
|
|
|
import (
|
|
"embed"
|
|
"net/http"
|
|
)
|
|
|
|
//go:embed index.html
|
|
var data embed.FS
|
|
|
|
// AssetFile return a http.FileSystem instance that data backend by asset.
|
|
func AssetFile() http.FileSystem {
|
|
return http.FS(data)
|
|
}
|