[mirotalksfu] - fix typo [skip ci]
هذا الالتزام موجود في:
@@ -76,6 +76,7 @@ function login() {
|
|||||||
|
|
||||||
// Admin (has access to all rooms)
|
// Admin (has access to all rooms)
|
||||||
if (allowedRooms && allowedRooms.includes('*')) {
|
if (allowedRooms && allowedRooms.includes('*')) {
|
||||||
|
console.log('User detected with admin access!', allowedRooms);
|
||||||
loginForm.style.display = 'none';
|
loginForm.style.display = 'none';
|
||||||
joinRoomForm.style.display = 'block';
|
joinRoomForm.style.display = 'block';
|
||||||
selectRoom.innerHTML = '';
|
selectRoom.innerHTML = '';
|
||||||
|
|||||||
@@ -6,13 +6,11 @@ This example shows how to set up a server to listen for MiroTalk SFU webhook eve
|
|||||||
|
|
||||||
### Step 1: Enable Webhooks
|
### Step 1: Enable Webhooks
|
||||||
|
|
||||||
Edit `app/src/config.js` to enable webhooks:
|
Edit the `.env` to enable webhooks:
|
||||||
|
|
||||||
```javascript
|
```bash
|
||||||
webhook: {
|
WEBHOOK_ENABLED=true
|
||||||
enabled: true, // Enable webhook functionality
|
WEBHOOK_URL=https://YOUR-DOMAIN-NAME/webhook-endpoint
|
||||||
url: 'http://localhost:8888/webhook-endpoint', // Webhook server URL
|
|
||||||
},
|
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم