Skip to content

Commit 121d37d

Browse files
authored
Merge pull request #58 from ashwinvis/fix/xdg-open-url
Fixes weird behaviour of xdg-open while opening urls
2 parents 0e63566 + 04518c4 commit 121d37d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instant-markdown-d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ function onListening() {
188188
} else if (os.platform() === 'darwin') {
189189
exec('open -g http://localhost:8090', function(error, stdout, stderr){});
190190
} else { // assume unix/linux
191-
exec('xdg-open http://localhost:8090', function(error, stdout, stderr){});
191+
exec('xdg-open http://localhost:8090/', function(error, stdout, stderr){});
192192
}
193193
readAllInput(process.stdin, function(body) {
194194
writeMarkdown(body);

0 commit comments

Comments
 (0)