1
0
Fork 0
mirror of https://github.com/miawinter98/just-short-it.git synced 2024-11-12 20:49:55 +00:00

fixed favicons not being served (I hate this https://github.com/dotnet/aspnetcore/issues/52320)

This commit is contained in:
Mia Rose Winter 2024-09-28 11:08:41 +02:00
parent c57c5a269f
commit ddfe6d6472
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E
2 changed files with 5 additions and 2 deletions

View file

@ -7,10 +7,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<base href="/" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link rel="icon" type="image/png" sizes="512x512" href="/android-chrome-512x512.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="stylesheet" href="/css/main.min.css" asp-append-version="true" />

View file

@ -1,5 +1,5 @@
@page "/"
@page "/{Id}"
@page "/{Id:nonfile}"
@using Microsoft.Extensions.Caching.Distributed
@inject IDistributedCache Db