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

Method Prepare

controllers/StaticController.go:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23func (this *StaticController) Prepare() {
24 this.OssDomain = strings.TrimRight(beego.AppConfig.String("oss::Domain"), "/ ")
25}
26
27func (this *StaticController) APP() {
28 link := strings.TrimSpace(models.GetOptionValue("APP_PAGE", ""))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected