由于本人回归了 所以维护吧。
本项目为Milk编写, Fork 或者二次创作请备注原作者仓库地址! 感谢您的使用和理解! 方便的解析黑卡,小白立刻上路。
- 在服务器上Clone本项目
git clone https://github.com/Michaelwucoc/account-copier.git- 设置index.html为默认文档
由于MoJang对其API进行CORS相关限制,您需要安装Node并部署代理服务器。
- 在服务器上Clone本项目
git clone https://github.com/Michaelwucoc/account-copier.git- 修改server.js文件
app.use(cors({
origin: ['https://你自己的API域名', 'http://localhost:3000'],
methods: ['GET'],
allowedHeaders: ['Content-Type', 'Accept']
}));- 输入npm start启动服务器
有任何问题可以Issue哦~