mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Added noindex to prevent SEO from indexing user's sites. Reverted http3 support as docker users were having port issue (#1850)
This commit is contained in:
parent
40d68ea6c5
commit
45e69b087e
@ -174,7 +174,7 @@ public class Program
|
|||||||
var ipAddresses = Configuration.IpAddresses;
|
var ipAddresses = Configuration.IpAddresses;
|
||||||
if (string.IsNullOrEmpty(ipAddresses))
|
if (string.IsNullOrEmpty(ipAddresses))
|
||||||
{
|
{
|
||||||
opts.ListenAnyIP(HttpPort, options => { options.Protocols = HttpProtocols.Http1AndHttp2AndHttp3; });
|
opts.ListenAnyIP(HttpPort, options => { options.Protocols = HttpProtocols.Http1AndHttp2; });
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -182,7 +182,7 @@ public class Program
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
var address = System.Net.IPAddress.Parse(ipAddress.Trim());
|
var address = System.Net.IPAddress.Parse(ipAddress.Trim());
|
||||||
opts.Listen(address, HttpPort, options => { options.Protocols = HttpProtocols.Http1AndHttp2AndHttp3; });
|
opts.Listen(address, HttpPort, options => { options.Protocols = HttpProtocols.Http1AndHttp2; });
|
||||||
}
|
}
|
||||||
catch(Exception ex)
|
catch(Exception ex)
|
||||||
{
|
{
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
<meta name="msapplication-config" content="assets/icons/browserconfig.xml">
|
<meta name="msapplication-config" content="assets/icons/browserconfig.xml">
|
||||||
<meta name="theme-color" content="#000000">
|
<meta name="theme-color" content="#000000">
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="#000000">
|
<meta name="apple-mobile-web-app-status-bar-style" content="#000000">
|
||||||
|
<meta name='robots' content='noindex,follow' />
|
||||||
|
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<meta name="mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"name": "GPL-3.0",
|
"name": "GPL-3.0",
|
||||||
"url": "https://github.com/Kareadita/Kavita/blob/develop/LICENSE"
|
"url": "https://github.com/Kareadita/Kavita/blob/develop/LICENSE"
|
||||||
},
|
},
|
||||||
"version": "0.7.1.5"
|
"version": "0.7.1.6"
|
||||||
},
|
},
|
||||||
"servers": [
|
"servers": [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user