sails.getBaseUrl() is the sail.js command which is used to get application BaseUrl in Sails.js. ...