mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-07 21:50:25 +08:00
初步实现安装界面
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package ui
|
||||
|
||||
import (
|
||||
"compress/gzip"
|
||||
"github.com/iwind/TeaGo"
|
||||
"github.com/iwind/TeaGo/actions"
|
||||
)
|
||||
@@ -12,7 +13,7 @@ func init() {
|
||||
Get("/download", new(DownloadAction)).
|
||||
|
||||
// 以下的需要压缩
|
||||
Helper(new(actions.Gzip)).
|
||||
Helper(&actions.Gzip{Level: gzip.BestCompression}).
|
||||
Get("/components.js", new(ComponentsAction)).
|
||||
EndAll()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user