Commit: allow images.
This commit is contained in:
@@ -42,6 +42,10 @@ app.UseStaticFiles(new StaticFileOptions
|
||||
{
|
||||
ctx.Context.Response.ContentType = "image/x-icon";
|
||||
}
|
||||
else if (path.EndsWith(".jpg") || path.EndsWith(".jpeg"))
|
||||
{
|
||||
ctx.Context.Response.ContentType = "image/jpeg";
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<link rel="stylesheet" href="~/css/carousel.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/clivelancaster.styles.css" asp-append-version="true" />
|
||||
<script defer data-domain="clivelancaster.com" src="https://analytics.rokoh.com/js/script.js"></script>
|
||||
<link rel="icon" type="image/x-icon" href='@Url.Content("~/favicon.ico")'>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
|
||||
Reference in New Issue
Block a user