Re-implemented everything using ASP.NET. Changed some requests to use JSON instead of FORM data. Some work towards deleting the FIXMEGlobal instance. Auth is missing, XSRF does not work correctly.
9 lines
296 B
C#
9 lines
296 B
C#
using Duplicati.WebserverCore.Abstractions;
|
|
|
|
namespace Duplicati.WebserverCore.Services.Settings;
|
|
|
|
public class SettingsService(Server.Database.Connection dbConnection) : ISettingsService
|
|
{
|
|
public ServerSettings GetSettings()
|
|
=> new ServerSettings(dbConnection.ApplicationSettings);
|
|
} |