mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-10-11 14:48:40 +02:00
global: add null safety checks
This commit is contained in:
1 parent
be432dfd24
commit
6e35edb715
109 files changed
+452
-590
No files matched your search
@@ -57,7 +57,7 @@ namespace Streetwriters.Identity
|
||||
{
|
||||
options.Limits.MaxRequestBodySize = long.MaxValue;
|
||||
options.ListenAnyIP(Servers.IdentityServer.Port);
|
||||
if (Servers.IdentityServer.IsSecure)
|
||||
if (Servers.IdentityServer.IsSecure && Servers.IdentityServer.SSLCertificate != null)
|
||||
{
|
||||
options.ListenAnyIP(443, listenerOptions =>
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user