This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am joshelias on github. | |
* I am joshelias (https://keybase.io/joshelias) on keybase. | |
* I have a public key ASDSkB7P1UD4nzpcQoc_ylsPifFTVSjuoYLbGY4c_vQNDwo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
"restApiRoot": "/api", | |
"host": "#.#.#.#", | |
"port": 8080, | |
"remoting": { | |
"context": { | |
"enableHttpContext": false | |
}, | |
"rest": { | |
"normalizeHttpPath": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var https = require("https"); | |
var fs = require("fs"); | |
var express = require("express"); | |
var app = express(); | |
app.get("*", function(req, res) { | |
res.redirect("http://localhost:3000"+req.url); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var loopback = require('loopback'); | |
var passport = require('passport'); | |
var _ = require('underscore'); | |
module.exports = PassportConfigurator; | |
/** | |
* The passport configurator | |
* @param {Object} app The LoopBack app instance | |
* @returns {PassportConfigurator} |