13 lines
661 B
Plaintext
13 lines
661 B
Plaintext
|
|
// Copy this file to config.js and fill in your own anchor URL.
|
||
|
|
// config.js is gitignored — this example is what gets committed.
|
||
|
|
//
|
||
|
|
// signalURL — WebSocket URL of your waste-go anchor (/ws endpoint)
|
||
|
|
// turnURL — TURN relay (coturn), optional but needed across mobile networks
|
||
|
|
// turnCredentialsURL — anchor endpoint that mints short-lived TURN credentials
|
||
|
|
// (requires -turn-secret flag on the anchor; omit if no TURN)
|
||
|
|
window.FLIT_CONFIG = {
|
||
|
|
signalURL: 'wss://your-anchor.example.com/ws',
|
||
|
|
turnURL: 'turn:your-anchor.example.com:3478',
|
||
|
|
turnCredentialsURL: 'https://your-anchor.example.com/turn-credentials',
|
||
|
|
}
|