miao-plugin/config/profile_default.js
2022-08-16 03:46:59 +08:00

46 lines
1.5 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* 如需配置【复制】此文件改名为profile.js
* 暂未做热更新修改完毕请重启yunzai
* */
/*
* Enka面板服务API配置
*
* 【Enka官网】https://enka.network/
*
* 感谢Enka提供的面板查询服务
* https://github.com/yoimiya-kokomi/miao-plugin/issues/63#issuecomment-1199348789
* 如果可以的话也可考虑在Patreon上支持Enka或提供闲置的原神账户具体可在Discord联系
*
* 如Enka服务访问不稳定可尝试更换MiniGrayGay大佬提供的中转服务
* 【广州节点】https://enka.microgg.cn/
* 【上海节点】https://enka.minigg.cn/
* 推荐使用【广州】或【上海】节点如访问enka官网相对稳定的话推荐优先使用官方地址
* 感谢@MiniGrayGay 大佬提供的服务(Github: https://github.com/MiniGrayGay)
*
* 使用代理(科学上网)可以配置proxyAgent
* 例如: http://127.0.0.1:1080
* */
export const enkaApi = {
url: 'https://enka.network/', // 请求API地址可从上方提供的API地址中进行选择
proxyAgent: '' // 请求的proxy配置如无需proxy则留空
}
/*
* 单个用户请求面板的间隔时间,单位分钟
* 不同用户的计时独立
*
* 因为服务数据更新需要5分钟左右建议设置为5分钟或5分钟以上
* 可降低对服务的压力,同时防止过度刷屏
* */
export const requestInterval = 5
/*
* MiaoApi面板更新地址暂时支持B服角色
* */
export const miaoApi = {
url: 'http://49.232.91.210/profile',
token: '请求Token'
}