Initial commit (code only without large binaries)
This commit is contained in:
20
EdgeUser/internal/web/actions/default/portal/index.go
Normal file
20
EdgeUser/internal/web/actions/default/portal/index.go
Normal file
@@ -0,0 +1,20 @@
|
||||
// Copyright 2024 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
|
||||
package portal
|
||||
|
||||
import "github.com/TeaOSLab/EdgeUser/internal/web/actions/actionutils"
|
||||
|
||||
type IndexAction struct {
|
||||
actionutils.PortalAction
|
||||
}
|
||||
|
||||
func (this *IndexAction) Init() {
|
||||
this.Nav("", "", "")
|
||||
}
|
||||
|
||||
func (this *IndexAction) RunGet(params struct{}) {
|
||||
// 检测是否自动跳转到HTTPS
|
||||
this.CheckHTTPSRedirecting()
|
||||
|
||||
this.Show()
|
||||
}
|
||||
Reference in New Issue
Block a user