Skip to content

Commit

Permalink
add another auth server
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivshti committed Nov 5, 2015
1 parent 289e942 commit 9ef7ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guidebox.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ var addon = new Stremio.Server({
"stream.find": function(args, callback, user) {
pipe.push(getStream, args, function(err, resp) { callback(err, resp ? resp.slice(0,4) : undefined) });
}
}, { /* secret: mySecret */ }, manifest);
}, { /* secret: mySecret */ allow: ["http://api8.herokuapp.com","http://api9.strem.io"] }, manifest);

var server = require("http").createServer(function (req, res) {
addon.middleware(req, res, function() { res.end() }); // wire the middleware - also compatible with connect / express
Expand Down

0 comments on commit 9ef7ee9

Please sign in to comment.