Skip to content

Commit

Permalink
feat: Change the default image address of dead plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
lianggf01 committed May 19, 2023
1 parent e21f811 commit 2193f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/admin/controller/plugins.go
Expand Up @@ -299,7 +299,7 @@ func (h *Handler) pluginStoreBox(param PluginBoxParam) template.HTML {
func (h *Handler) pluginBox(param PluginBoxParam) template.HTML {
cover := template2.HTML(param.Info.MiniCover)
if cover == template2.HTML("") {
cover = "/admin/assets/dist/img/plugin_default.png"
cover = template.HTML(config.Url("/assets/dist/img/plugin_default.png"))
}

jump := param.IndexURL
Expand Down

0 comments on commit 2193f5b

Please sign in to comment.