mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
update config
This commit is contained in:
parent
bbda287406
commit
a9ebc7065a
@ -1,24 +1,26 @@
|
|||||||
import packagejson from "../package.json"
|
import packagejson from "../package.json"
|
||||||
import defaultTheme from "../constants/defaultTheme.json"
|
import defaultTheme from "../constants/defaultTheme.json"
|
||||||
import defaultSoundPack from "../constants/defaultSoundPack.json"
|
import defaultSoundPack from "../constants/defaultSoundPack.json"
|
||||||
|
import defaultRemotesOrigins from "../constants/defaultRemotesOrigins.json"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
package: packagejson,
|
package: packagejson,
|
||||||
defaultTheme: defaultTheme,
|
defaultTheme: defaultTheme,
|
||||||
defaultSoundPack: defaultSoundPack,
|
defaultSoundPack: defaultSoundPack,
|
||||||
|
author: "RageStudio© 2022",
|
||||||
logo: {
|
logo: {
|
||||||
alt: "/logo_alt.svg"
|
alt: "/logo_alt.svg"
|
||||||
},
|
},
|
||||||
api: {
|
api: {
|
||||||
address: process.env.NODE_ENV !== 'production' ? `http://${window.location.hostname}:3000` : "https://api.amimet.es",
|
address: process.env.NODE_ENV !== "production" ? `http://${window.location.hostname}:3000` : defaultRemotesOrigins.http_api,
|
||||||
},
|
},
|
||||||
ws: {
|
ws: {
|
||||||
address: process.env.NODE_ENV !== 'production' ? `ws://${window.location.hostname}:3001` : "https://ws.amimet.es",
|
address: process.env.NODE_ENV !== "production" ? `ws://${window.location.hostname}:3001` : defaultRemotesOrigins.ws_api,
|
||||||
},
|
},
|
||||||
app: {
|
app: {
|
||||||
title: packagejson.name,
|
title: packagejson.name,
|
||||||
siteName: "Comty",
|
siteName: "Comty",
|
||||||
mainPath: '/main',
|
mainPath: "/main",
|
||||||
storage: {
|
storage: {
|
||||||
basics: "user",
|
basics: "user",
|
||||||
token: "token",
|
token: "token",
|
||||||
@ -30,14 +32,14 @@ export default {
|
|||||||
i18n: {
|
i18n: {
|
||||||
languages: [
|
languages: [
|
||||||
{
|
{
|
||||||
key: 'en',
|
locale: "en",
|
||||||
title: 'English',
|
name: "English"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'es',
|
locale: "es",
|
||||||
title: 'Español',
|
name: "Español"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
defaultLanguage: 'en',
|
defaultLocale: "es",
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user