Use bindata to embed UI assets
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// +build !embed
|
||||
|
||||
package assets
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/cloudsonic/sonic-server/consts"
|
||||
)
|
||||
|
||||
func AssetFile() http.FileSystem {
|
||||
return http.Dir(consts.UIAssetsLocalPath)
|
||||
}
|
||||
Reference in New Issue
Block a user