ui-assets: Integrate UI assets.

This commit is contained in:
Harshavardhana
2016-02-04 16:00:52 -08:00
parent 53a983659e
commit a066184bed
7 changed files with 40 additions and 14 deletions

View File

@@ -41,6 +41,6 @@ use
...
http.Handle("/",
http.FileServer(
&assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, Prefix: "data"}))
&assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, AssetInfo: AssetInfo, Prefix: "data"}))
to serve files embedded from the `data` directory.