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:
Joe Milazzo 2023-03-05 16:00:21 -06:00 committed by GitHub
parent 40d68ea6c5
commit 45e69b087e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -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)
{ {

View File

@ -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">

View File

@ -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": [
{ {