mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-04-23 21:35:20 +08:00
当迁移了管理平台后,自动跳转到确认API配置页
This commit is contained in:
13
internal/web/actions/default/setup/confirm/init.go
Normal file
13
internal/web/actions/default/setup/confirm/init.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package confirm
|
||||
|
||||
import "github.com/iwind/TeaGo"
|
||||
|
||||
func init() {
|
||||
TeaGo.BeforeStart(func(server *TeaGo.Server) {
|
||||
server.
|
||||
Helper(new(Helper)).
|
||||
Prefix("/setup/confirm").
|
||||
GetPost("", new(IndexAction)).
|
||||
EndAll()
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user