mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
update remotes
This commit is contained in:
parent
dc081e8f48
commit
281aaf7466
@ -6,27 +6,17 @@ import defaultRemotesOrigins from "../constants/defaultRemotesOrigins.json"
|
|||||||
const envOrigins = {
|
const envOrigins = {
|
||||||
"development": {
|
"development": {
|
||||||
mainApi: `http://${window.location.hostname}:3000`,
|
mainApi: `http://${window.location.hostname}:3000`,
|
||||||
authApi: `http://${window.location.hostname}:4000`,
|
messagingApi: `http://${window.location.hostname}:3020`,
|
||||||
contentApi: `http://${window.location.hostname}:3050`,
|
|
||||||
streamingApi: `http://${window.location.hostname}:3002`,
|
|
||||||
},
|
},
|
||||||
"production": {
|
"production": {
|
||||||
mainApi: "http://api.comty.pw",
|
mainApi: "http://api.comty.pw",
|
||||||
authApi: "http://auth.comty.pw",
|
messagingApi: `http://api.comty.pw/messaging`,
|
||||||
contentApi: "http://content.comty.pw",
|
|
||||||
streamingApi: "http://streaming.comty.pw",
|
|
||||||
},
|
},
|
||||||
"indev": {
|
"indev": {
|
||||||
mainApi: "https://indev_api.comty.pw",
|
mainApi: "https://indev_api.comty.pw",
|
||||||
authApi: `http://indev_auth.comty.pw`,
|
|
||||||
contentApi: `http://indev_content.comty.pw`,
|
|
||||||
streamingApi: "https://indev_live.comty.pw",
|
|
||||||
},
|
},
|
||||||
"nightly": {
|
"nightly": {
|
||||||
mainApi: "https://nightly_api.comty.pw",
|
mainApi: "https://nightly_api.comty.pw",
|
||||||
authApi: `https://nightly_auth.comty.pw`,
|
|
||||||
contentApi: `https://nightly_content.comty.pw`,
|
|
||||||
streamingApi: "https://nightly_live.comty.pw"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -65,8 +55,7 @@ export default {
|
|||||||
},
|
},
|
||||||
remotes: {
|
remotes: {
|
||||||
mainApi: process.env.NODE_ENV !== "production" ? envOrigins[process.env.NODE_ENV].mainApi : defaultRemotesOrigins.main_api,
|
mainApi: process.env.NODE_ENV !== "production" ? envOrigins[process.env.NODE_ENV].mainApi : defaultRemotesOrigins.main_api,
|
||||||
authApi: process.env.NODE_ENV !== "production" ? envOrigins[process.env.NODE_ENV].authApi : defaultRemotesOrigins.auth_api,
|
messagingApi: process.env.NODE_ENV !== "production" ? envOrigins[process.env.NODE_ENV].messagingApi : defaultRemotesOrigins.messagingApi,
|
||||||
streamingApi: process.env.NODE_ENV !== "production" ? envOrigins[process.env.NODE_ENV].streamingApi : defaultRemotesOrigins.streaming_api,
|
|
||||||
},
|
},
|
||||||
app: {
|
app: {
|
||||||
title: packagejson.name,
|
title: packagejson.name,
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
"main_api": "https://api.comty.pw",
|
"main_api": "https://api.comty.pw",
|
||||||
"auth_api": "https://auth.ragestudio.net",
|
"messagingApi": "https://api.ragestudio.net/messaging"
|
||||||
"streaming_api": "https://live.comty.pw"
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user