Update API URL to api.ronde.vu and simplify ICE config

- Change API URL from rondevu.xtrdev.workers.dev to api.ronde.vu
- Remove TURN servers, use only Google STUN (eliminate errors)
- Update README with correct API URL

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-14 18:54:51 +01:00
parent adc363fed0
commit 600d6308b9
2 changed files with 4 additions and 15 deletions

View File

@@ -2,23 +2,12 @@ import React, {useState, useEffect} from 'react';
import {Rondevu} from '@xtr-dev/rondevu-client';
import toast, {Toaster} from 'react-hot-toast';
const API_URL = 'https://rondevu.xtrdev.workers.dev';
const API_URL = 'https://api.ronde.vu';
const RTC_CONFIG = {
iceServers: [
{
urls: "stun:stun.relay.metered.ca:80",
},
{
urls: "turn:standard.relay.metered.ca:80",
username: "e03a51621b4f11ffbed3addd",
credential: "QPjJzPau1Ng5S0dq",
},
{
urls: "turn:standard.relay.metered.ca:443",
username: "e03a51621b4f11ffbed3addd",
credential: "QPjJzPau1Ng5S0dq",
},
{ urls: 'stun:stun.l.google.com:19302' },
{ urls: 'stun:stun1.l.google.com:19302' }
]
};