Chatog server-side system.
We recommend to build env referred to Dockerfile.
Install dependencies and serve.
yarn
yarn dev --debug
Build dist (without node_modules).
yarn buildLaunch server.
node ./build/src/index.jsIf you want to launch server in local Windows system, you may encounter below issues:
Solution: forward LAN IP to localhost.
netsh interface portproxy set v4tov4 listenport=8080 listenaddress=0.0.0.0 connectport=8080 connectaddress=localhostSolution: not use ${LAN_IP} but use localhost.
In this way, you also have to use usb to connect mobile and computer, then forward mobile request to computer, such as:
adb reverse tcp:20000 tcp:20000