2018-03-14 07:18:19 -06:00
|
|
|
package routes
|
|
|
|
|
|
|
|
import "sour.is/x/toolbox/httpsrv"
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
httpsrv.AssetRegister("paste", httpsrv.AssetRoutes{
|
2018-06-26 10:51:21 -06:00
|
|
|
{Name: "Assets", Path: "/", HandlerFunc: httpsrv.FsHtml5(assetFS())},
|
2018-03-14 07:18:19 -06:00
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2020-08-17 08:44:23 -06:00
|
|
|
//go:generate go run github.com/sour-is/go-assetfs/cmd/assetfs -pkg routes -prefix ../../ ../../public/ ../../public/static/css/ ../../public/static/js/
|