mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
use development remotes
This commit is contained in:
parent
00ab91453b
commit
26d7e1bc03
@ -13,9 +13,9 @@ export default {
|
|||||||
full: "/logo_full.svg",
|
full: "/logo_full.svg",
|
||||||
},
|
},
|
||||||
remotes: {
|
remotes: {
|
||||||
mainApi: defaultRemotesOrigins.main_api, //process.env.NODE_ENV !== "production" ? `http://${window.location.hostname}:3000` : defaultRemotesOrigins.http_api
|
mainApi: process.env.NODE_ENV !== "production" ? `http://${window.location.hostname}:3000` : defaultRemotesOrigins.main_api,
|
||||||
streamingApi: defaultRemotesOrigins.streaming_api, //process.env.NODE_ENV !== "production" ? `ws://${window.location.hostname}:3001` : defaultRemotesOrigins.ws_api
|
streamingApi: defaultRemotesOrigins.streaming_api,
|
||||||
websocketApi: defaultRemotesOrigins.websocket_api,
|
websocketApi: process.env.NODE_ENV !== "production" ? `ws://${window.location.hostname}:3000` : defaultRemotesOrigins.websocket_api,
|
||||||
},
|
},
|
||||||
app: {
|
app: {
|
||||||
title: packagejson.name,
|
title: packagejson.name,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"main_api": "http://localhost:3000",
|
"main_api": "https://api.comty.pw",
|
||||||
"streaming_api": "http://localhost:3002",
|
"streaming_api": "https://media_api.comty.pw",
|
||||||
"websocket_api": "ws://localhost:3001"
|
"websocket_api": "wss://api.comty.pw"
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user