17 lines
No EOL
314 B
Markdown
17 lines
No EOL
314 B
Markdown
# booru-api
|
|
|
|
# default config/secrets.ts file
|
|
|
|
```ts
|
|
const redisConfig: RedisConfig = {
|
|
host: "127.0.0.1",
|
|
port: 6379,
|
|
};
|
|
|
|
const e621Auth: Record<string, string> = {
|
|
"User-Agent": "domain/1.0 (by username on e621)",
|
|
Authorization: "Basic " + btoa("username:password"),
|
|
};
|
|
|
|
export { e621Auth, redisConfig };
|
|
``` |