added music remote

This commit is contained in:
SrGooglo 2023-05-24 17:40:21 +00:00
parent 4c0e96c704
commit c349f90ad4

View File

@ -16,12 +16,14 @@ const envOrigins = {
chat: `http://${getCurrentHostname()}:3020`, chat: `http://${getCurrentHostname()}:3020`,
livestreaming: `http://${getCurrentHostname()}:3030`, livestreaming: `http://${getCurrentHostname()}:3030`,
marketplace: `http://${getCurrentHostname()}:3040`, marketplace: `http://${getCurrentHostname()}:3040`,
music: `http://${getCurrentHostname()}:3050`,
}, },
"production": { "production": {
default: "https://api.comty.app", default: "https://api.comty.app",
chat: `https://chat_api.comty.app`, chat: `https://chat_api.comty.app`,
livestreaming: `https://livestreaming_api.comty.app`, livestreaming: `https://livestreaming_api.comty.app`,
marketplace: `https://marketplace_api.comty.app`, marketplace: `https://marketplace_api.comty.app`,
music: `https://music_api.comty.app`,
} }
} }
@ -36,6 +38,10 @@ export default {
origin: composeRemote("chat"), origin: composeRemote("chat"),
hasWebsocket: true, hasWebsocket: true,
}, },
music: {
origin: composeRemote("music"),
hasWebsocket: true,
},
livestreaming: { livestreaming: {
origin: composeRemote("livestreaming"), origin: composeRemote("livestreaming"),
}, },