trivabble/config.js.sample

23 lines
778 B
Plaintext

// This is a sample config file. Copy to config.js if you need to fiddle with the
// configuration of the client.
window.TrivabbleConf = {
// The amount of time to wait after a connection failure
POLLING_DELAY: 2000,
// Whether WebSockets should be used, if possible
ENABLE_WEBSOCKETS: true,
// Whether Server Sent Events should be used, if available
ENABLE_EVENT_SOURCE: true,
// Max consecutive tries before blacklisting WebSockets for the current session
MAX_WEBSOCKET_ERRORS: 1,
// to tweak only if your webserver is shared with other conflicting resources at / ( ex: yunohost integration )
APP_PATH: "",
// I don't like trailing commas, here is a nice message for you reading this file :-)
HAVE_FUN: true
};