From 757c5f132d188355d055cb30124e0cea66b97c56 Mon Sep 17 00:00:00 2001 From: liaojack8 Date: Mon, 6 Jul 2020 10:27:46 +0800 Subject: [PATCH] fix. --- src/tg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tg.js b/src/tg.js index c9217f8..d39019d 100644 --- a/src/tg.js +++ b/src/tg.js @@ -9,7 +9,7 @@ const { AUTH, DEFAULT_TARGET } = require('../config') const { tg_token } = AUTH const gen_link = (fid, text) => `${text || fid}` -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) } : {})