可以设置管理界面和用户界面的浏览器图标和Logo

This commit is contained in:
GoEdgeLab
2021-02-25 20:54:30 +08:00
parent 0d2b5d33fa
commit 6b132482ca
11 changed files with 344 additions and 1 deletions

View File

@@ -13,6 +13,9 @@ func init() {
server.
Prefix("/ui").
// 公共可以访问的链接
Get("/image/:fileId", new(ImageAction)).
// 以下的需要压缩
Helper(&actions.Gzip{Level: gzip.BestCompression}).
Get("/components.js", new(ComponentsAction)).