mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-03 12:20:28 +08:00
18 lines
316 B
Go
18 lines
316 B
Go
|
|
package settings
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/TeaOSLab/EdgeAdmin/internal/web/helpers"
|
||
|
|
"github.com/iwind/TeaGo"
|
||
|
|
)
|
||
|
|
|
||
|
|
func init() {
|
||
|
|
TeaGo.BeforeStart(func(server *TeaGo.Server) {
|
||
|
|
server.
|
||
|
|
Helper(helpers.NewUserMustAuth()).
|
||
|
|
Helper(NewHelper()).
|
||
|
|
Prefix("/settings").
|
||
|
|
Get("", new(IndexAction)).
|
||
|
|
EndAll()
|
||
|
|
})
|
||
|
|
}
|