gelbooru should work, remove caching, fix random
This commit is contained in:
parent
e6acb47796
commit
c34ddea659
14 changed files with 480 additions and 401 deletions
|
@ -1,6 +1,6 @@
|
|||
// cSpell:disable
|
||||
|
||||
import { getE621Auth } from "./environment";
|
||||
import { gelBooruAUTH, getE621Auth } from "@config/environment";
|
||||
|
||||
const booruDefaults: IBooruDefaults = {
|
||||
search: "index.php?page=dapi&s=post&q=index&json=1",
|
||||
|
@ -70,4 +70,13 @@ export const booruConfig: IBooruConfigMap = {
|
|||
},
|
||||
auth: getE621Auth(),
|
||||
},
|
||||
"gelbooru.com": {
|
||||
enabled: true,
|
||||
name: "gelbooru.com",
|
||||
aliases: ["gelbooru", "gb", "gelboorucom"],
|
||||
endpoint: "gelbooru.com",
|
||||
autocomplete: "gelbooru.com/index.php?page=autocomplete&term=",
|
||||
functions: booruDefaults,
|
||||
auth: gelBooruAUTH(),
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue