filebrowser/frontend/assets_dev.go
Yonas Yanfa b854347484 fix: build on FreeBSD and non-Linux platforms
`bash` is installed in `/usr/local/bin/bash` on FreeBSD. This patch should make the build work
without modification for FreeBSD and Linux.
2023-02-05 12:23:42 -05:00

16 lines
155 B
Go

//go:build dev
// +build dev
package frontend
import (
"io/fs"
"os"
)
var assets fs.FS = os.DirFS("frontend")
func Assets() fs.FS {
return assets
}