AB#5820 - Clean up and remove unnecessary stuff for this task

This commit is contained in:
Bjarke Berg
2020-03-30 06:34:56 +02:00
parent b2799ef901
commit ff5d6770d9
4 changed files with 1 additions and 43 deletions

View File

@@ -75,15 +75,6 @@ namespace Umbraco.Web.UI.BackOffice
app.UseRouting();
app.UseEndpoints(endpoints =>
{
endpoints.MapControllerRoute(
"backoffice-spa",
"/umbraco",
new
{
Controller = "BackOffice",
Action = "Index"
}
);
endpoints.MapGet("/", async context =>
{
await context.Response.WriteAsync($"<html><body>Hello World!{Current.Profiler.Render()}</body></html>");

View File

@@ -18,6 +18,7 @@
<ItemGroup>
<_ContentIncludedByDefault Remove="wwwroot\~\App_Data\TEMP\TypesCache\umbraco-types.DESKTOP-2016.hash" />
<_ContentIncludedByDefault Remove="wwwroot\~\App_Data\TEMP\TypesCache\umbraco-types.DESKTOP-2016.list" />
<_ContentIncludedByDefault Remove="Views\BackOffice\Index.cshtml" />
</ItemGroup>
</Project>

View File

@@ -1,20 +0,0 @@
@using Umbraco.Composing
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<title>title</title>
</head>
<body>
<div>
Hello World
@Html.Raw(Current.Profiler.Render())
</div>
</body>
</html>