mirror of
https://github.com/miawinter98/just-short-it.git
synced 2024-11-14 13:29:54 +00:00
fixed favicons not being served (I hate this https://github.com/dotnet/aspnetcore/issues/52320)
This commit is contained in:
parent
c57c5a269f
commit
ddfe6d6472
|
@ -7,10 +7,13 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<base href="/" />
|
<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="32x32" href="/favicon-32x32.png">
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||||
<link rel="manifest" href="/site.webmanifest">
|
<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" />
|
<link rel="stylesheet" href="/css/main.min.css" asp-append-version="true" />
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
@page "/"
|
@page "/"
|
||||||
@page "/{Id}"
|
@page "/{Id:nonfile}"
|
||||||
@using Microsoft.Extensions.Caching.Distributed
|
@using Microsoft.Extensions.Caching.Distributed
|
||||||
|
|
||||||
@inject IDistributedCache Db
|
@inject IDistributedCache Db
|
||||||
|
|
Loading…
Reference in a new issue