Add wallet profile image loading

This commit is contained in:
TheXamlGuy
2024-06-29 21:52:31 +01:00
parent 92a7fc7c42
commit 97c9405283
12 changed files with 85 additions and 36 deletions
+2 -1
View File
@@ -10,9 +10,10 @@ public class WalletComponent(IHostEnvironment environment,
public override IComponentBuilder Configuring(string key,
IComponentBuilder builder)
{
string path = Path.Combine(environment.ContentRootPath, key.Replace(":", "\\"));
builder.SetComponentConfiguration(args =>
{
args.ContentRoot = Path.Combine(environment.ContentRootPath, key.Replace(":", "\\"));
args.ContentRoot = Path.Combine(path);
});
return base.Configuring(key, builder);