Bugfixes from last PR (#1928)

* Fixed a regression where confirm-email was validating for a real email when it's not required.

* Fixed fit to screen breaking as canvas was still showing on the screen when it should have been hidden.

* Fixed a missing age rating in the pipe

* Fixed fit to height not properly aligning the image

* Tweaked Startup check for base url
This commit is contained in:
Joe Milazzo 2023-04-15 06:58:54 -05:00 committed by GitHub
parent 2b1570b144
commit 10e4b318cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 41 additions and 37 deletions

View file

@ -401,7 +401,7 @@ public class Startup
}
catch (Exception ex)
{
if (ex.Message.Contains("Permission denied") && baseUrl.Equals(Configuration.DefaultBaseUrl) && new OsInfo().IsDocker)
if ((ex.Message.Contains("Permission denied") || ex.Message.Contains("UnauthorizedAccessException")) && baseUrl.Equals(Configuration.DefaultBaseUrl) && new OsInfo().IsDocker)
{
// Swallow the exception as the install is non-root and Docker
return;