chore: remove useless log
This commit is contained in:
1 parent
545c1b70a9
commit
c9ca6568cf
1 file changed
-1
@@ -66,7 +66,6 @@ export async function InitWebUi(logger: LogWrapper, pathWrapper: NapCatPathWrapp
|
|||||||
try {
|
try {
|
||||||
const publishUrl = 'https://ip.011102.xyz/';
|
const publishUrl = 'https://ip.011102.xyz/';
|
||||||
const data = await RequestUtil.HttpGetJson<{ IP: { IP: string } }>(publishUrl, 'GET', {}, {}, true, true);
|
const data = await RequestUtil.HttpGetJson<{ IP: { IP: string } }>(publishUrl, 'GET', {}, {}, true, true);
|
||||||
log("IP data", data);
|
|
||||||
log(`[NapCat] [WebUi] WebUi Publish Panel Url: ${createUrl(data.IP.IP, '/webui', config.token)}`);
|
log(`[NapCat] [WebUi] WebUi Publish Panel Url: ${createUrl(data.IP.IP, '/webui', config.token)}`);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
logger.logError(`[NapCat] [WebUi] Get Publish Panel Url Error: ${err}`);
|
logger.logError(`[NapCat] [WebUi] Get Publish Panel Url Error: ${err}`);
|
||||||
|
|||||||
Reference in new issue
Block a user