UNPKG

happner

Version:

distributed application engine with evented storage and mesh services

23 lines (17 loc) 440 B
var Mesh = require('../..'); var path = require('path'); var async = require('async'); var configDifferentPortRedirect = { name: "startupProxiedDifferentPort", port: 55002, startupProxy: { enabled: true, redirect: "/ping" } }; console.log('STARTING MESH:::'); Mesh .create(configDifferentPortRedirect, function (e, created) { if (e) return console.log('ERROR HAPPENED:::', e); console.log('STARTED:::'); })