MCPcopy Index your code
hub / github.com/TruthHun/BookStack / ForbiddenReferer

Method ForbiddenReferer

models/options.go:342–344  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

340}
341
342func (m *Option) ForbiddenReferer() []string {
343 return strings.Split(GetOptionValue("FORBIDDEN_REFERER", ""), "\n")
344}
345
346func (m *Option) IsResponseEmptyForAPP(requestVersion, word string) (yes bool) {
347 version := GetOptionValue("CheckingAppVersion", "")

Callers 1

refreshRefererMethod · 0.80

Calls 1

GetOptionValueFunction · 0.85

Tested by

no test coverage detected