45 lines
1.4 KiB
JavaScript

import packagejson from "../package.json"
import defaultTheme from "../constants/defaultTheme.json"
import defaultSoundPack from "../constants/defaultSoundPack.json"
import defaultRemotesOrigins from "../constants/defaultRemotesOrigins.json"
export default {
package: packagejson,
defaultTheme: defaultTheme,
defaultSoundPack: defaultSoundPack,
author: "RageStudio© 2022",
logo: {
alt: "/logo_alt.svg",
full: "/logo_full.svg",
},
remotes: {
mainApi: process.env.NODE_ENV !== "production" ? `http://${window.location.hostname}:3000` : defaultRemotesOrigins.main_api,
websocketApi: process.env.NODE_ENV !== "production" ? `ws://${window.location.hostname}:3001` : defaultRemotesOrigins.websocket_api,
streamingApi: process.env.NODE_ENV !== "production" ? `http://${window.location.hostname}:3002` : defaultRemotesOrigins.streaming_api,
},
app: {
title: packagejson.name,
siteName: "Comty",
mainPath: "/main",
storage: {
basics: "user",
token: "token",
session_frame: "session",
signkey: "certified",
settings: "app_settings"
},
},
i18n: {
languages: [
{
locale: "en",
name: "English"
},
{
locale: "es",
name: "Español"
}
],
defaultLocale: "en",
}
}