mornwind / gfcn_switchserver Goto Github PK
View Code? Open in Web Editor NEW「少女前线」跨服(iOS2GW / iOS2Bili / iOS2TX / iOS2HF / Adr2iOS / AdrEmu2iOS)
Home Page: https://blog.mornwind.cc
「少女前线」跨服(iOS2GW / iOS2Bili / iOS2TX / iOS2HF / Adr2iOS / AdrEmu2iOS)
Home Page: https://blog.mornwind.cc
你好:
感谢大佬这么快就发布了更新。但是依然无法使用Shadowrocket将iOS服转为安卓。麻烦您修复。感谢大佬。
请讲shadow rocket的配置文件中的https://raw.githubusercontent.com/Mornwind/GFCN_SwitchServer/master/Shadowrkt/gfcn_ios2gw.js
改为
/*
「少女前线」跨服(iOS 端 → 安卓官服)
By: Mornwind
README:
https://github.com/Mornwind/GFCN_SwitchServer/blob/master/README.md
*/
let url = $request.url;
let headers = $request.headers;
let body = $request.body;
url = url.replace(/gfcn-transit.ios.sunborngame.com/,"gfcn-transit.gw.sunborngame.com");
headers['Host'] = 'gfcn-transit.gw.sunborngame.com';
body = body.replace(/channel=cn_appstore/,"channel=cn_mica").replace(/device=ios/,"device=adr").replace(/platformChannelId=ios/,"platformChannelId=GWGW");
$done({
url: url,
headers: headers,
body: body
});
,也就是这个网站的内容。因为是github文件,不挂梯子会导致直接无法获得配置文件。
ps, shadow rocket感觉比http catcher稳定
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.