Reorder ssl redirect
This commit is contained in:
parent
8ea8e81e89
commit
d64137c6f6
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