removed https
This commit is contained in:
@@ -17,9 +17,14 @@ namespace Arrestanten_planbord
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
var executingDir = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
|
||||
Console.WriteLine("Entry Assembly location = " + executingDir);
|
||||
|
||||
Console.WriteLine("Assembly location = " + executingDir);
|
||||
string directory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
|
||||
Console.WriteLine("Executing Assembly location = " + executingDir);
|
||||
|
||||
//var path = Path.Combine(directory, "wwwroot", "index.html");
|
||||
|
||||
//window.NavigateToLocalFile(path);
|
||||
//ComponentsDesktop.Run<Startup>("My Blazor App", Path.Combine(executingDir, "wwwroot/index.html"));
|
||||
|
||||
CreateHostBuilder(args).Build().Run();
|
||||
@@ -29,7 +34,7 @@ namespace Arrestanten_planbord
|
||||
Host.CreateDefaultBuilder(args)
|
||||
.ConfigureWebHostDefaults(webBuilder =>
|
||||
{
|
||||
webBuilder.UseStartup<Startup>();
|
||||
webBuilder.UseStartup<Startup>().UseUrls("http://localhost:5000");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"anonymousAuthentication": true,
|
||||
"iisExpress": {
|
||||
"applicationUrl": "http://localhost:3373",
|
||||
"sslPort": 44359
|
||||
"sslPort": 0
|
||||
}
|
||||
},
|
||||
"profiles": {
|
||||
@@ -18,10 +18,10 @@
|
||||
"Arrestanten_planbord": {
|
||||
"commandName": "Project",
|
||||
"launchBrowser": true,
|
||||
"applicationUrl": "https://localhost:5001;http://localhost:5000",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
},
|
||||
"applicationUrl": "http://localhost:5000"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -94,7 +94,6 @@ namespace Arrestanten_planbord
|
||||
app.UseHsts();
|
||||
}
|
||||
|
||||
app.UseHttpsRedirection();
|
||||
app.UseStaticFiles();
|
||||
|
||||
app.UseRouting();
|
||||
@@ -112,7 +111,6 @@ namespace Arrestanten_planbord
|
||||
endpoints.MapBlazorHub();
|
||||
endpoints.MapHub<UpdateHub>("/UpdateHub");
|
||||
endpoints.MapFallbackToPage("/_Host");
|
||||
//endpoints.MapRazorPages("/Eindhoven");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user