move e621 auth to .env, edit readme
This commit is contained in:
parent
60a11c8d92
commit
20f98f630f
5 changed files with 67 additions and 14 deletions
|
@ -1,6 +1,6 @@
|
|||
// cSpell:disable
|
||||
|
||||
import { e621Auth } from "./secrets";
|
||||
import { getE621Auth } from "./environment";
|
||||
|
||||
const booruDefaults: IBooruDefaults = {
|
||||
search: "index.php?page=dapi&s=post&q=index&json=1",
|
||||
|
@ -68,8 +68,6 @@ export const booruConfig: IBooruConfigMap = {
|
|||
random: "defaultRandom",
|
||||
id: ["posts/", ".json"],
|
||||
},
|
||||
auth: {
|
||||
...e621Auth,
|
||||
},
|
||||
auth: getE621Auth(),
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue