mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2026-10-21 03:36:59 +00:00
This is to demonstrate how override work with the new frontend. This plugin does create another download button in the file viewer page
15 lines
202 B
Go
15 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)
|
|
}
|