diff options
Diffstat (limited to 'config/donmai_auth.zsh')
| -rw-r--r-- | config/donmai_auth.zsh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/config/donmai_auth.zsh b/config/donmai_auth.zsh new file mode 100644 index 0000000..dfd3581 --- /dev/null +++ b/config/donmai_auth.zsh @@ -0,0 +1,18 @@ +# Copyright (C) 2024-2025 Maria Lisina +# Copyright (C) 2024-2025 Danil Lisin +# SPDX-License-Identifier: Apache-2.0 + +case "${ib_board}" in + (a) + ib_auth="https://safebooru.donmai.us" + ;; + (d) + ib_auth="https://danbooru.donmai.us" + ;; +esac + +ib_header="Authorization: Baisc" +ib_login_file="login" +ib_key_file="api_key" +ib_login_word="login" +ib_key_word="API key" |
