var app = require('../app')

switch (process.env.NODE_ENV || 'development') {
  case 'development':
    app.constant('MAX_IMAGE_SIZE', 512 * 1024)
    break
  default:
    app.constant('MAX_IMAGE_SIZE', 2 * 1024 * 1024)
    break
}

var app = require('../app')

app.constant('MAX_IMAGE_SIZE', 32000000) // 32mb

Increase max image attachment to 32mb
Increase max image attachment to 32mb
