Skip to content

Commit

Permalink
Fix desktop reconnection. Fix crash in Wayland (though still not supp…
Browse files Browse the repository at this point in the history
…orted).
  • Loading branch information
bitbound committed Apr 15, 2023
1 parent e97eda0 commit d2dd852
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Desktop.Linux/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

var logger = new FileLogger("Remotely_Deskt", "Program.cs");
var filePath = Process.GetCurrentProcess()?.MainModule?.FileName;
var serverUrl = Debugger.IsAttached ? "https://localhost:5001" : string.Empty;
var serverUrl = Debugger.IsAttached ? "http://localhost:5000" : string.Empty;
var getEmbeddedResult = await EmbeddedServerDataSearcher.Instance.TryGetEmbeddedData(filePath);
if (getEmbeddedResult.IsSuccess)
{
Expand All @@ -40,7 +40,7 @@
#if DEBUG
builder.SetMinimumLevel(LogLevel.Debug);
#endif
builder.AddProvider(new FileLoggerProvider("Remotely_Deskt"));
builder.AddProvider(new FileLoggerProvider("Remotely_Desktop"));
});
services.AddSingleton<IOrganizationIdProvider, OrganizationIdProvider>();
Expand Down
30 changes: 30 additions & 0 deletions Server/appsettings.Development.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,35 @@
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"ApplicationOptions": {
"AllowApiLogin": false,
"BannedDevices": [],
"DataRetentionInDays": 90,
"DBProvider": "SQLite",
"EnableWindowsEventLog": false,
"EnforceAttendedAccess": false,
"ForceClientHttps": false,
"KnownProxies": [],
"MaxConcurrentUpdates": 10,
"MaxOrganizationCount": 1,
"MessageOfTheDay": "",
"RedirectToHttps": true,
"RemoteControlNotifyUser": true,
"RemoteControlRequiresAuthentication": false,
"RemoteControlSessionLimit": 3,
"Require2FA": false,
"SmtpDisplayName": "",
"SmtpEmail": "",
"SmtpHost": "",
"SmtpLocalDomain": "",
"SmtpCheckCertificateRevocation": true,
"SmtpPassword": "",
"SmtpPort": 587,
"SmtpUserName": "",
"Theme": "Dark",
"TrustedCorsOrigins": [],
"UseHsts": false,
"UseHttpLogging": false
}
}

0 comments on commit d2dd852

Please sign in to comment.