This commit is contained in:
liaojack8 2020-07-06 10:27:46 +08:00
parent ea8b6ad451
commit 757c5f132d
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ const { AUTH, DEFAULT_TARGET } = require('../config')
const { tg_token } = AUTH
const gen_link = (fid, text) => `<a href="https://drive.google.com/drive/folders/${fid}">${text || fid}</a>`
if (!tg_token) throw new Error('請先在auth.js中設定tg_token')
if (!tg_token) throw new Error('請先在config.js中設定tg_token')
const { https_proxy } = process.env
const axins = axios.create(https_proxy ? { httpsAgent: new HttpsProxyAgent(https_proxy) } : {})