Add support for custom footer
This commit is contained in:
parent
9f3e7a7b86
commit
a292c25f84
7 changed files with 60 additions and 3 deletions
|
|
@ -9,6 +9,7 @@ import (
|
|||
|
||||
"github.com/FAU-CDI/wisski-distillery/internal/bootstrap"
|
||||
"github.com/FAU-CDI/wisski-distillery/internal/dis/component"
|
||||
"github.com/FAU-CDI/wisski-distillery/internal/dis/component/control/static/custom"
|
||||
"github.com/FAU-CDI/wisski-distillery/pkg/environment"
|
||||
)
|
||||
|
||||
|
|
@ -18,6 +19,8 @@ type Control struct {
|
|||
Dependencies struct {
|
||||
Routeables []component.Routeable
|
||||
Cronables []component.Cronable
|
||||
|
||||
Custom *custom.Custom
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -49,6 +52,8 @@ func (control *Control) Stack(env environment.Environment) component.StackWithRe
|
|||
"GLOBAL_AUTHORIZED_KEYS_FILE": control.Config.GlobalAuthorizedKeysFile,
|
||||
"SELF_OVERRIDES_FILE": control.Config.SelfOverridesFile,
|
||||
"SELF_RESOLVER_BLOCK_FILE": control.Config.SelfResolverBlockFile,
|
||||
|
||||
"CUSTOM_ASSETS_PATH": control.Dependencies.Custom.CustomAssetsPath(),
|
||||
},
|
||||
|
||||
CopyContextFiles: []string{bootstrap.Executable},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue