mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 19:14:16 +00:00
update config
This commit is contained in:
parent
3b5c67937f
commit
1fa3e720e7
@ -1,37 +1,43 @@
|
|||||||
|
import packagejson from "../package.json"
|
||||||
import defaultTheme from "../constants/defaultTheme.json"
|
import defaultTheme from "../constants/defaultTheme.json"
|
||||||
|
import defaultSoundPack from "../constants/defaultSoundPack.json"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
defaultTheme: defaultTheme,
|
package: packagejson,
|
||||||
|
defaultTheme: defaultTheme,
|
||||||
logo: {
|
defaultSoundPack: defaultSoundPack,
|
||||||
alt: "https://dl.ragestudio.net/branding/comty/alt/SVG/t3t3.svg"
|
logo: {
|
||||||
},
|
alt: "/logo_alt.svg"
|
||||||
api: {
|
},
|
||||||
address: process.env.NODE_ENV !== 'production' ? `http://${window.location.hostname}:3000` : "https://api.amimet.es",
|
api: {
|
||||||
},
|
address: process.env.NODE_ENV !== 'production' ? `http://${window.location.hostname}:3000` : "https://api.amimet.es",
|
||||||
|
},
|
||||||
app: {
|
ws: {
|
||||||
siteName: 'Comty™',
|
address: process.env.NODE_ENV !== 'production' ? `ws://${window.location.hostname}:3001` : "https://ws.amimet.es",
|
||||||
copyright: 'RageStudio©',
|
},
|
||||||
mainPath: '/main',
|
app: {
|
||||||
|
title: packagejson.name,
|
||||||
appTheme_desiredContrast: 7,
|
siteName: "Comty",
|
||||||
// Contrast level AA = 4.5, Level AAA = 7
|
mainPath: '/main',
|
||||||
// Reference: https://www.w3.org/WAI/WCAG21/quickref/?versions=2.0&showtechniques=143#qr-visual-audio-contrast-contrast
|
storage: {
|
||||||
},
|
basics: "user",
|
||||||
i18n: {
|
token: "token",
|
||||||
languages: [
|
session_frame: "session",
|
||||||
{
|
signkey: "certified",
|
||||||
key: 'en',
|
settings: "app_settings"
|
||||||
title: 'English',
|
},
|
||||||
},
|
},
|
||||||
],
|
i18n: {
|
||||||
defaultLanguage: 'en',
|
languages: [
|
||||||
},
|
{
|
||||||
stricts: {
|
key: 'en',
|
||||||
post_maxlenght: '512',
|
title: 'English',
|
||||||
// In KB
|
},
|
||||||
api_maxpayload: '101376',
|
{
|
||||||
api_maxovertick: 10,
|
key: 'es',
|
||||||
}
|
title: 'Español',
|
||||||
|
}
|
||||||
|
],
|
||||||
|
defaultLanguage: 'en',
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user