[mirotalk] - update dep, fix typo
This commit is contained in:
@@ -5,7 +5,7 @@ async function getMeeting() {
|
||||
// Use dynamic import with await
|
||||
const { default: fetch } = await import('node-fetch');
|
||||
|
||||
const API_KEY = 'mirotalk_default_secret1';
|
||||
const API_KEY_SECRET = 'mirotalk_default_secret';
|
||||
// const MIROTALK_URL = "http://localhost:3000/api/v1/meeting";
|
||||
const MIROTALK_URL = 'https://p2p.mirotalk.com/api/v1/meeting';
|
||||
// const MIROTALK_URL = "https://mirotalk.up.railway.app/api/v1/meeting";
|
||||
@@ -13,7 +13,7 @@ async function getMeeting() {
|
||||
const response = await fetch(MIROTALK_URL, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
authorization: API_KEY,
|
||||
authorization: API_KEY_SECRET,
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
$API_KEY = "mirotalk_default_secret";
|
||||
$API_KEY_SECRET = "mirotalk_default_secret";
|
||||
// $MIROTALK_URL = "http://localhost:3000/api/v1/meeting";
|
||||
$MIROTALK_URL = "https://p2p.mirotalk.com/api/v1/meeting";
|
||||
// $MIROTALK_URL = "https://mirotalk.up.railway.app/api/v1/meeting";
|
||||
@@ -12,7 +12,7 @@ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||
curl_setopt($ch, CURLOPT_POST, 1);
|
||||
|
||||
$headers = [
|
||||
'authorization:' . $API_KEY,
|
||||
'authorization:' . $API_KEY_SECRET,
|
||||
'Content-Type: application/json'
|
||||
];
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import requests
|
||||
import json
|
||||
|
||||
API_KEY = "mirotalk_default_secret"
|
||||
API_KEY_SECRET = "mirotalk_default_secret"
|
||||
# MIROTALK_URL = "http://localhost:3000/api/v1/meeting"
|
||||
MIROTALK_URL = "https://p2p.mirotalk.com/api/v1/meeting";
|
||||
MIROTALK_URL = "https://p2p.mirotalk.com/api/v1/meeting"
|
||||
# MIROTALK_URL = "https://mirotalk.up.railway.app/api/v1/meeting"
|
||||
|
||||
headers = {
|
||||
"authorization": API_KEY,
|
||||
"authorization": API_KEY_SECRET,
|
||||
"Content-Type": "application/json",
|
||||
}
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
API_KEY="mirotalk_default_secret"
|
||||
API_KEY_SECRET="mirotalk_default_secret"
|
||||
# MIROTALK_URL="http://localhost:3000/api/v1/meeting"
|
||||
MIROTALK_URL="https://p2p.mirotalk.com/api/v1/meeting"
|
||||
# MIROTALK_URL="https://mirotalk.up.railway.app/api/v1/meeting"
|
||||
|
||||
curl $MIROTALK_URL \
|
||||
--header "authorization: $API_KEY" \
|
||||
--header "authorization: $API_KEY_SECRET" \
|
||||
--header "Content-Type: application/json" \
|
||||
--request POST
|
||||
+3
-3
@@ -33,8 +33,8 @@
|
||||
"license": "AGPL-3.0",
|
||||
"homepage": "https://github.com/miroslavpejic85/mirotalk",
|
||||
"dependencies": {
|
||||
"@sentry/integrations": "^7.68.0",
|
||||
"@sentry/node": "^7.68.0",
|
||||
"@sentry/integrations": "^7.70.0",
|
||||
"@sentry/node": "^7.70.0",
|
||||
"axios": "^1.5.0",
|
||||
"body-parser": "^1.20.2",
|
||||
"colors": "^1.4.0",
|
||||
@@ -44,7 +44,7 @@
|
||||
"dotenv": "^16.3.1",
|
||||
"express": "^4.18.2",
|
||||
"ngrok": "^4.3.3",
|
||||
"openai": "^4.6.0",
|
||||
"openai": "^4.10.0",
|
||||
"qs": "^6.11.2",
|
||||
"socket.io": "^4.7.2",
|
||||
"swagger-ui-express": "^5.0.0",
|
||||
|
||||
Reference in New Issue
Block a user