bug fixes. (#481)

This commit is contained in:
ocd0711 2024-06-19 14:45:42 +08:00 committed by GitHub
parent c3289c86fa
commit 1ac36bdfa9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -39,9 +39,9 @@ hostname = app.bilibili.com
const $ = new Env(`哔哩哔哩漫画`);
const cookie = $.getdata("CookieBM") || ''; // 哔哩哔哩漫画Cookie
const cookie = $.getdata("CookieBM") || ($.isNode() && process.env['CookieBM']) || ''; // 哔哩哔哩漫画Cookie
const barkKey = ''; //Bark APP 通知推送Key
const barkKey = $.isNode() && process.env['BM_BARK_KEY'] || ''; // bark key
if (typeof $request !== 'undefined') {
GetCookie(cookie)