Skip to content

Commit e120b32

Browse files
committed
Prepare release
1 parent ee54ea0 commit e120b32

File tree

6 files changed

+90
-90
lines changed

6 files changed

+90
-90
lines changed

app/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ app.engine('html', require('ejs').renderFile);
99

1010
// Force HTTPS on stackedit.io
1111
app.all('*', function(req, res, next) {
12-
if (req.headers.host == 'stackedit.io' && req.headers['x-forwarded-proto'] != 'https') {
12+
if (req.headers.host == 'stackedit.io' && (!req.secure || req.headers['x-forwarded-proto'] != 'https')) {
1313
return res.redirect('https://stackedit.io' + req.url);
1414
}
1515
/\.(eot|ttf|woff|svg)$/.test(req.url) && res.header('Access-Control-Allow-Origin', '*');

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stackedit",
3-
"version": "4.3.6",
3+
"version": "4.3.7",
44
"description": "StackEdit is a free, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites.",
55
"dependencies": {
66
"bootstrap": "3.0.3",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stackedit",
3-
"version": "4.3.6",
3+
"version": "4.3.7",
44
"private": true,
55
"description": "StackEdit is a free, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites.",
66
"main": "res/main.js",

0 commit comments

Comments
 (0)