初步实现安装界面

This commit is contained in:
刘祥超
2020-10-13 20:05:29 +08:00
parent cd1738b4da
commit f30059c623
37 changed files with 1207 additions and 56 deletions

View File

@@ -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()
})