Implement experimental IIPServer support
This commit is contained in:
parent
5d84301361
commit
10b93ddbe8
9 changed files with 51 additions and 4 deletions
|
|
@ -52,6 +52,14 @@ func (system System) GetDockerBaseImage() string {
|
|||
return imagePrefix + version + imageSuffix
|
||||
}
|
||||
|
||||
// GetIIPServerEnabled returns if the IIPServer was enabled
|
||||
func (system System) GetIIPServerEnabled() string {
|
||||
if !system.IIPServer {
|
||||
return ""
|
||||
}
|
||||
return "1"
|
||||
}
|
||||
|
||||
const (
|
||||
// Content Security Policy used by the internal server
|
||||
ContentSecurityPolicyNothing = "base-uri 'self'; default-src 'none';"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue