index-pro5.js 395 B

12345678910111213
  1. // for pro : built version, use node to start
  2. let config = require('./bin5/config/appconfig.js')
  3. config.FileDir.root = __dirname || '/'
  4. let server = require('./bin5/main.js')
  5. server.start()
  6. // // for dev : srouce version, use babel-node to start
  7. // let config = require('./src/config.js')
  8. // config.FileDir.root = __dirname || '/'
  9. //
  10. // let server = require('./src/main.js')
  11. // server.start()