Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Minor fix

KrzysztofPajak2d9a53d5e9ae
diff --git a/src/Business/Grand.Business.System/Services/Installation/InstallDataStores.cs b/src/Business/Grand.Business.System/Services/Installation/InstallDataStores.cs
index 699805277..6ce8fc857 100644
--- a/src/Business/Grand.Business.System/Services/Installation/InstallDataStores.cs
+++ b/src/Business/Grand.Business.System/Services/Installation/InstallDataStores.cs
@@ -18,7 +18,7 @@ namespace Grand.Business.System.Services.Installation
Shortcut = "Store",
Url = $"http://{host}/",
SecureUrl = $"https://{host}/",
- SslEnabled = httpscheme.ToLowerInvariant() == "https" ? true : false,
+ SslEnabled = httpscheme.ToLowerInvariant() == "https",
DisplayOrder = 1,
CompanyName = companyName,
CompanyAddress = companyAddress,
@@ -27,7 +27,7 @@ namespace Grand.Business.System.Services.Installation
CompanyVat = null,
CompanyEmail = companyEmail,
CompanyHours = "Monday - Sunday / 8:00AM - 6:00PM",
- Domains = new List<DomainHost>() { new DomainHost() { HostName = host.Value, Url = $"{httpscheme}://{host}", Primary = true } }
+ Domains = new List<DomainHost>() { new DomainHost() { HostName = host.Value, Url = $"{httpscheme}://{host}/", Primary = true } }
};
store = await _storeRepository.InsertAsync(store);