Implemented DLSiteClient.
This commit is contained in:
@@ -45,10 +45,10 @@ Content-Type: {{contentType}}
|
||||
{
|
||||
"options": {
|
||||
"criteria": {
|
||||
"keywords": "tsundere maid"
|
||||
"keywords": "tsundere"
|
||||
},
|
||||
"pageNumber": 1,
|
||||
"pageSize": 20,
|
||||
"pageSize": 100,
|
||||
"sortOptions": [
|
||||
{ "field": "Downloads", "direction": "Descending" }
|
||||
]
|
||||
|
||||
@@ -20,7 +20,7 @@ builder.Services
|
||||
|
||||
// DbContext (MySQL here; swap to Npgsql when you migrate)
|
||||
var cs = builder.Configuration.GetConnectionString("AppDb")
|
||||
?? throw new InvalidOperationException("Missing ConnectionStrings:AppDb");
|
||||
?? throw new InvalidOperationException("Missing ConnectionStrings:AppDb2");
|
||||
|
||||
builder.Services.AddDbContext<AppDbContext>(opt =>
|
||||
opt.UseMySql(cs, ServerVersion.AutoDetect(cs))
|
||||
|
||||
Reference in New Issue
Block a user