move to biomejs, add workflow move auth to header check readme
All checks were successful
Code quality checks / biome (push) Successful in 13s
All checks were successful
Code quality checks / biome (push) Successful in 13s
This commit is contained in:
parent
73ab535df6
commit
9cb178aea4
18 changed files with 368 additions and 340 deletions
|
@ -1,7 +1,5 @@
|
|||
// cSpell:disable
|
||||
|
||||
import { gelBooruAUTH, getE621Auth } from "@config/environment";
|
||||
|
||||
const booruDefaults: IBooruDefaults = {
|
||||
search: "index.php?page=dapi&s=post&q=index&json=1",
|
||||
random: "s",
|
||||
|
@ -68,7 +66,6 @@ export const booruConfig: IBooruConfigMap = {
|
|||
random: "defaultRandom",
|
||||
id: ["posts/", ".json"],
|
||||
},
|
||||
auth: getE621Auth(),
|
||||
},
|
||||
"gelbooru.com": {
|
||||
enabled: true,
|
||||
|
@ -77,6 +74,5 @@ export const booruConfig: IBooruConfigMap = {
|
|||
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