Skip to content

Instantly share code, notes, and snippets.

@albertosouza
Created July 31, 2014 20:40
Show Gist options
  • Save albertosouza/6ee82ab7b19430a45987 to your computer and use it in GitHub Desktop.
Save albertosouza/6ee82ab7b19430a45987 to your computer and use it in GitHub Desktop.
We.js clientside local.js config
module.exports = {
appName: 'We.js',
fileUploadPath: 'uploads/files',
imageUploadPath: 'uploads/images',
/**
* Client side configs
* @type {Object}
*/
clientside: {
// Plugin load types define load execution order
plugins: {
loadTypes: [
'Core' ,
'Plugin',
'Extension'
]
},
// enable or disable we.js client side plugins here
pluginsDefaultEnabled: [
'weHTTPjQuery',
'weSocketIO',
'weI18njs',
'weMessenger',
// we.js plugin logger
//'i18njs-log-untranslated-texts',
'weEmberPlugin'
],
// we.js logs
log: {
events: false,
hooks: false
}
},
site: {
// if true send a activation email for new
// accounts and only alow users login after account activation
requireAccountActivation: true
},
//environment: 'production',
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment