Add managed Craft addons with secure installation and document editing
This commit is contained in:
1 parent
1afa755d4f
commit
5cb1b463ea
31 files changed
+2274
-15
No files matched your search
@@ -21,6 +21,7 @@ type AuthMethod string
|
||||
|
||||
// Settings contain the main settings of the application.
|
||||
type Settings struct {
|
||||
AddonEnabled map[string]bool `json:"addonEnabled,omitempty"`
|
||||
DownloadArchiveFormat string `json:"downloadArchiveFormat"`
|
||||
Key []byte `json:"key"`
|
||||
Signup bool `json:"signup"`
|
||||
@@ -63,6 +64,7 @@ func (s *Settings) GetRules() []rules.Rule {
|
||||
|
||||
// Server specific settings.
|
||||
type Server struct {
|
||||
AddonsPath string `json:"-"`
|
||||
Root string `json:"root"`
|
||||
BaseURL string `json:"baseURL"`
|
||||
Socket string `json:"socket"`
|
||||
|
||||
Reference in new issue
Block a user