fix(email): set correct logo url (#4426)

This commit is contained in:
Livio Spring
2022-09-21 16:18:55 +02:00
committed by GitHub
parent 38026c9d63
commit 7aef0ccfee
3 changed files with 19 additions and 12 deletions

View File

@@ -55,6 +55,12 @@ func AssetAPI(externalSecure bool) func(context.Context) string {
}
}
func AssetAPIFromDomain(externalSecure bool, externalPort uint16) func(context.Context) string {
return func(ctx context.Context) string {
return http_util.BuildHTTP(authz.GetInstance(ctx).RequestedDomain(), externalPort, externalSecure) + HandlerPrefix
}
}
type Uploader interface {
UploadAsset(ctx context.Context, info string, asset *command.AssetUpload, commands *command.Commands) error
ObjectName(data authz.CtxData) (string, error)