update streamingApi remote

This commit is contained in:
srgooglo 2022-05-31 00:19:49 +02:00
parent b48450e92f
commit 321131d529

View File

@ -14,8 +14,8 @@ export default {
},
remotes: {
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,
streamingApi: process.env.NODE_ENV !== "production" ? `https://${window.location.hostname}:3002` : defaultRemotesOrigins.streaming_api,
websocketApi: process.env.NODE_ENV !== "production" ? `ws://${window.location.hostname}:3001` : defaultRemotesOrigins.websocket_api,
},
app: {
title: packagejson.name,