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:
parent
2b1570b144
commit
10e4b318cb
14 changed files with 41 additions and 37 deletions
|
@ -1,9 +1,5 @@
|
|||
namespace API.Errors;
|
||||
|
||||
public record ApiException
|
||||
{
|
||||
public ApiException(int status, string? message = null, string? details = null)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
#nullable enable
|
||||
public record ApiException(int Status, string? Message = null, string? Details = null);
|
||||
#nullable disable
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"TokenKey": "super secret unguessable key",
|
||||
"Port": 5000,
|
||||
"IpAddresses": "",
|
||||
"BaseUrl": "/test/"
|
||||
"BaseUrl": "/"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue