Merge branch 'master' of github.com:lbryio/lbry.tech
This commit is contained in:
commit
ae64857c7a
1 changed files with 4 additions and 3 deletions
|
@ -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"];
|
||||
|
|
Loading…
Reference in a new issue