JJ Colocate
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
namespace AobaServer.Models;
|
||||
|
||||
public class ShareXDestination
|
||||
{
|
||||
public string Version { get; set; } = "14.0.1";
|
||||
public string Name { get; set; } = "Aoba";
|
||||
public string DestinationType { get; set; } = "ImageUploader, TextUploader, FileUploader";
|
||||
public string RequestMethod { get; set; } = "POST";
|
||||
public string RequestURL { get; set; } = "https://aoba.app/api/media/upload";
|
||||
public Dictionary<string, string> Headers { get; set; } = [];
|
||||
public string Body { get; set; } = "MultipartFormData";
|
||||
public Dictionary<string, string> Arguments { get; set; } = new() { { "name", "$filename$" } };
|
||||
public string FileFormName { get; set; } = "file";
|
||||
public string[] RegexList { get; set; } = ["([^/]+)/?$"];
|
||||
public string URL { get; set; } = "https://aoba.app{json:url}";
|
||||
public string? ThumbnailURL { get; set; }
|
||||
public string? DeletionURL { get; set; }
|
||||
namespace AobaServer.Models;
|
||||
|
||||
public class ShareXDestination
|
||||
{
|
||||
public string Version { get; set; } = "14.0.1";
|
||||
public string Name { get; set; } = "Aoba";
|
||||
public string DestinationType { get; set; } = "ImageUploader, TextUploader, FileUploader";
|
||||
public string RequestMethod { get; set; } = "POST";
|
||||
public string RequestURL { get; set; } = "https://aoba.app/api/media/upload";
|
||||
public Dictionary<string, string> Headers { get; set; } = [];
|
||||
public string Body { get; set; } = "MultipartFormData";
|
||||
public Dictionary<string, string> Arguments { get; set; } = new() { { "name", "$filename$" } };
|
||||
public string FileFormName { get; set; } = "file";
|
||||
public string[] RegexList { get; set; } = ["([^/]+)/?$"];
|
||||
public string URL { get; set; } = "https://aoba.app{json:url}";
|
||||
public string? ThumbnailURL { get; set; }
|
||||
public string? DeletionURL { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user