mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 08:22:24 +01:00
This is to demonstrate how override work with the new frontend. This plugin does create another download button in the file viewer page
14 lines
202 B
Go
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)
|
|
}
|