update remotes config

This commit is contained in:
srgooglo 2022-05-12 19:25:08 +02:00
parent 046dd43831
commit f6bbeb5c66

View File

@ -12,11 +12,10 @@ export default {
alt: "/logo_alt.svg",
full: "/logo_full.svg",
},
api: {
address: defaultRemotesOrigins.http_api,//process.env.NODE_ENV !== "production" ? `http://${window.location.hostname}:3000` : defaultRemotesOrigins.http_api,
},
ws: {
address: defaultRemotesOrigins.ws_api, //process.env.NODE_ENV !== "production" ? `ws://${window.location.hostname}:3001` : defaultRemotesOrigins.ws_api,
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.ws_api,
},
app: {
title: packagejson.name,