mirror of
https://github.com/documize/community.git
synced 2025-07-23 07:09:43 +02:00
support for license keys
This commit is contained in:
parent
b0d70e2657
commit
3f87401d49
10 changed files with 252 additions and 35 deletions
|
@ -38,6 +38,9 @@ func init() {
|
|||
environment.GetString(&keyFile, "key", false, "the key.pem file used for https", nil)
|
||||
environment.GetString(&port, "port", false, "http/https port number", nil)
|
||||
environment.GetString(&forcePort2SSL, "forcesslport", false, "redirect given http port number to TLS", nil)
|
||||
|
||||
// license state
|
||||
log.Info(Product.License.Status())
|
||||
}
|
||||
|
||||
var testHost string // used during automated testing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue