use development remotes

This commit is contained in:
srgooglo 2022-05-30 16:47:52 +02:00
parent 00ab91453b
commit 26d7e1bc03
2 changed files with 6 additions and 6 deletions

View File

@ -13,9 +13,9 @@ export default {
full: "/logo_full.svg",
},
remotes: {
mainApi: defaultRemotesOrigins.main_api, //process.env.NODE_ENV !== "production" ? `http://${window.location.hostname}:3000` : defaultRemotesOrigins.http_api
streamingApi: defaultRemotesOrigins.streaming_api, //process.env.NODE_ENV !== "production" ? `ws://${window.location.hostname}:3001` : defaultRemotesOrigins.ws_api
websocketApi: defaultRemotesOrigins.websocket_api,
mainApi: process.env.NODE_ENV !== "production" ? `http://${window.location.hostname}:3000` : defaultRemotesOrigins.main_api,
streamingApi: defaultRemotesOrigins.streaming_api,
websocketApi: process.env.NODE_ENV !== "production" ? `ws://${window.location.hostname}:3000` : defaultRemotesOrigins.websocket_api,
},
app: {
title: packagejson.name,

View File

@ -1,5 +1,5 @@
{
"main_api": "http://localhost:3000",
"streaming_api": "http://localhost:3002",
"websocket_api": "ws://localhost:3001"
"main_api": "https://api.comty.pw",
"streaming_api": "https://media_api.comty.pw",
"websocket_api": "wss://api.comty.pw"
}