mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44: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",
|
||||
},
|
||||
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,
|
||||
|
@ -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"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user