[mirotalk] - remove heroku

This commit is contained in:
Miroslav Pejic
2023-07-21 16:46:26 +02:00
parent 30e55757c7
commit 5e9830ef06
7 changed files with 6 additions and 24 deletions
+1 -2
View File
@@ -2,9 +2,8 @@ const fetch = require('node-fetch');
const API_KEY = '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://p2p.mirotalk.com/api/v1/meeting';
// const MIROTALK_URL = 'https://mirotalk.up.railway.app/api/v1/meeting';
const MIROTALK_URL = 'https://mirotalk.herokuapp.com/api/v1/meeting';
function getResponse() {
return fetch(MIROTALK_URL, {
+1 -2
View File
@@ -2,9 +2,8 @@
$API_KEY = "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";
$MIROTALK_URL = "https://mirotalk.herokuapp.com/api/v1/meeting";
$ch = curl_init();
+1 -2
View File
@@ -3,9 +3,8 @@ import json
API_KEY = "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"
MIROTALK_URL = "https://mirotalk.herokuapp.com/api/v1/meeting"
headers = {
"authorization": API_KEY,
+1 -2
View File
@@ -2,9 +2,8 @@
API_KEY="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"
MIROTALK_URL="https://mirotalk.herokuapp.com/api/v1/meeting"
curl $MIROTALK_URL \
--header "authorization: $API_KEY" \