filestash/server/plugin/plg_override_download/index.go
MickaelK 6f03334871 feature (plugin): override plugin for download
This is to demonstrate how override work with the new frontend. This
plugin does create another download button in the file viewer page
2024-11-07 13:32:00 +11:00

14 lines
202 B
Go

package plg_override_download
import (
"embed"
. "github.com/mickael-kerjean/filestash/server/common"
)
//go:embed assets/*
var STATIC embed.FS
func init() {
Hooks.Register.StaticPatch(STATIC)
}