diff --git a/README.md b/README.md
index 9aff077..b806b93 100644
--- a/README.md
+++ b/README.md
@@ -123,7 +123,7 @@ The easiest way to test:
### Server Configuration
-This demo connects to: `https://rondevu.xtrdev.workers.dev`
+This demo connects to: `https://api.ronde.vu`
To use a different server, modify the `baseUrl` in `src/main.js`:
diff --git a/src/App.jsx b/src/App.jsx
index be1fac3..d798c80 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -6,9 +6,10 @@ import ActionSelector from './components/ActionSelector';
import MethodSelector from './components/MethodSelector';
import ConnectionForm from './components/ConnectionForm';
import ChatView from './components/ChatView';
+import TopicsList from './components/TopicsList';
const rdv = new Rondevu({
- baseUrl: 'https://rondevu.xtrdev.workers.dev',
+ baseUrl: 'https://api.ronde.vu',
rtcConfig: {
iceServers: [
{ urls: 'stun:stun.l.google.com:19302' },
@@ -60,6 +61,9 @@ function App() {
const [demoVersion, setDemoVersion] = useState('unknown');
const [serverVersion, setServerVersion] = useState('unknown');
+ // Topics modal state
+ const [showTopicsList, setShowTopicsList] = useState(false);
+
const connectionRef = useRef(null);
const dataChannelRef = useRef(null);
const fileTransfersRef = useRef(new Map()); // Track ongoing file transfers
@@ -529,6 +533,24 @@ function App() {
)}
Your Peer ID: {rdv.peerId}
+
+ {/* Floating button to view topics */}
+ {step !== 4 && (
+
+ )}
+
+ {/* Topics modal */}
+ {showTopicsList && (
+ setShowTopicsList(false)}
+ />
+ )}