mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:37:32 +00:00
fix(email): set correct logo url (#4426)
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user