Files
kopia/internal/server/htmlui_fallback.go
Nathan Baulch 657fda216a chore(ci): upgrade to golangci-lint 2.6.1 (#4973)
- upgrade to golangci-lint 2.6.1
- updates for gosec
- updates for govet
- updates for perfsprint
- updates modernize

Leaves out modernize:omitempty due to conflicts with tests
2025-11-11 21:27:10 -08:00

17 lines
245 B
Go

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