trtc usersig service run on cloudflare workers
1、Config your sdkappid and secret in wrangler.toml
[vars]
SDKAPPID = 14xxxxxxxx
SECRET = "xxxxxxxxxx"
2、Start local server
npm install
npm run dev
1、Config your sdkappid and secret in wrangler.toml
[vars]
SDKAPPID = 14xxxxxxxx
SECRET = "xxxxxxxxxx"
2、You need to have a cloudflare account
3、Deploy
npm run deploy
You should get some workers url like https://trtc-usersig-workers.xxxxxxx.workers.dev