Skip to content

Commit

Permalink
remove tasvideosbg.avif because the file has recently stopped display…
Browse files Browse the repository at this point in the history
…ing on chrome, breaking the bg image
  • Loading branch information
Masterjun3 committed Nov 8, 2024
1 parent 10b0adf commit e6d2cde
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion TASVideos/Extensions/ApplicationBuilderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public static IApplicationBuilder UseGzipCompression(this IApplicationBuilder ap
public static IApplicationBuilder UseStaticFilesWithExtensionMapping(this IApplicationBuilder app, IWebHostEnvironment env)
{
var provider = new FileExtensionContentTypeProvider();
provider.Mappings[".avif"] = "image/avif";
return app.UseStaticFiles(new StaticFileOptions
{
ContentTypeProvider = provider,
Expand Down
1 change: 0 additions & 1 deletion TASVideos/Pages/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
<div class="container-fluid">
<div class="site-banner w-100 overflow-hidden position-absolute start-0 top-0">
<picture>
<source srcset="/images/tasvideosbg.avif" type="image/avif">
<source srcset="/images/tasvideosbg.webp" type="image/webp">
<img src="/images/tasvideosbg.jpg">
</picture>
Expand Down
Binary file removed TASVideos/wwwroot/images/tasvideosbg.avif
Binary file not shown.

0 comments on commit e6d2cde

Please sign in to comment.