mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
feat(global): add templates support ('apps') (#154)
This commit is contained in:
parent
faccf2a651
commit
1c8aa35479
15 changed files with 366 additions and 13 deletions
|
@ -12,7 +12,7 @@ type Settings struct {
|
|||
Logo string `json:"logo"`
|
||||
}
|
||||
|
||||
// configurationHandler defines a handler function used to encode the configuration in JSON
|
||||
// settingsHandler defines a handler function used to encode the configuration in JSON
|
||||
func settingsHandler(w http.ResponseWriter, r *http.Request, s *Settings) {
|
||||
json.NewEncoder(w).Encode(*s)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue