Optional - Set format on save and any global prettier options
npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node
| # A little Meteor CheatSheet about Iron-Router. (updated on a weekly basis) | |
| # Check our Studio: https://gentlenode.com/ | |
| meteor add iron:router | |
| meteor update iron:router | |
| # Iron Router > Configuration |
| # METEOR CORE: | |
| Anywhere: Meteor.isClient | |
| Anywhere: Meteor.isServer | |
| Anywhere: Meteor.startup(func) | |
| Anywhere: Meteor.absoluteUrl([path], [options]) | |
| Anywhere: Meteor.settings | |
| Anywhere: Meteor.release | |
| "use strict"; | |
| var httpProxy = require('http-proxy'), | |
| http = require('http'), | |
| accesslog = require('access-log'), | |
| addresses; | |
| var LISTENPORT = 80; //port we're listening to the outside world | |
| var METEORPORT = 3000; //port meteor is run on the guests | |
| var MINIP = 10; //Minimum IP address we can use. Smaller numbers are for admin purposes |