MCPcopy Create free account
hub / github.com/TruthHun/BookStack / LocalhostController

Struct LocalhostController

controllers/LocalhostController.go:14–16  ·  view source on GitHub ↗

只有请求头的host为localhost的才能访问。

Source from the content-addressed store, hash-verified

12
13//只有请求头的host为localhost的才能访问。
14type LocalhostController struct {
15 BaseController
16}
17
18func (c *LocalhostController) Prepare() {
19 c.NoNeedLoginRouter = true

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected