diff --git a/src/hosts/Elsa.Studio.Host.HostedWasm/Program.cs b/src/hosts/Elsa.Studio.Host.HostedWasm/Program.cs index 15336e0..776c181 100644 --- a/src/hosts/Elsa.Studio.Host.HostedWasm/Program.cs +++ b/src/hosts/Elsa.Studio.Host.HostedWasm/Program.cs @@ -18,7 +18,7 @@ if (!app.Environment.IsDevelopment()) app.UseHsts(); } -app.UseHttpsRedirection(); +//app.UseHttpsRedirection(); app.UseBlazorFrameworkFiles(); app.UseRouting(); app.UseCors(); diff --git a/src/hosts/Elsa.Studio.Host.Server/Program.cs b/src/hosts/Elsa.Studio.Host.Server/Program.cs index a881428..90963f5 100644 --- a/src/hosts/Elsa.Studio.Host.Server/Program.cs +++ b/src/hosts/Elsa.Studio.Host.Server/Program.cs @@ -116,7 +116,7 @@ if (!app.Environment.IsDevelopment()) } app.UseElsaLocalization(); -app.UseHttpsRedirection(); +//app.UseHttpsRedirection(); app.UseStaticFiles(); app.UseRouting(); app.UseAuthorization(); diff --git a/src/hosts/Elsa.Studio.Host.Server/appsettings.json b/src/hosts/Elsa.Studio.Host.Server/appsettings.json index b61e9c9..a349ede 100644 --- a/src/hosts/Elsa.Studio.Host.Server/appsettings.json +++ b/src/hosts/Elsa.Studio.Host.Server/appsettings.json @@ -10,7 +10,7 @@ "DisableAuthorization": false }, "Backend": { - "Url": "https://localhost:5001/elsa/api" + "Url": "https://localhost:5002/elsa/api" //"https://localhost:5001/elsa/api" }, "Localization": { "DefaultCulture": "fa-IR",