Merge branch 'master' of github.com:lbryio/lbry.tech

This commit is contained in:
Kristian Polso 2018-06-02 13:35:25 +03:00
commit ae64857c7a

View file

@ -34,13 +34,14 @@ if(typeof process.env.SLACK_WEBHOOK_URL != 'undefined') {
}
app = express();
// enable ssl redirect
app.use(sslRedirect());
app.use(serveStatic(__dirname + "/content/.vuepress/dist"));
app.use(cors());
// enable ssl redirect
app.use(sslRedirect(['other','development', 'staging', 'production']));
app.get('/forward', function(req, res) {
var allowedMethods = ["wallet_send", "resolve", "publish"];