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.
7 lines
194 B
C#
7 lines
194 B
C#
namespace Duplicati.WebserverCore.Exceptions;
|
|
|
|
public class NotFoundException(string? Message) : UserReportedHttpException(Message ?? "Not found")
|
|
{
|
|
public override int StatusCode => 404;
|
|
}
|