Skip to content

Commit 98b4f01

Browse files
Port updated
1 parent 2dcbbf6 commit 98b4f01

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

controllers/plantuml.js

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ exports.generatePng = function(req, res) {
1414
text.replace('&','&');
1515
text.replace('&lt;','<');
1616
text.replace('&gt;','>');
17+
console.log(text);
1718
var encoded = plantumlEncoder.encode(text);
1819
console.log('http://www.plantuml.com/plantuml/img/'+encoded);
1920
res.status(200).jsonp({text: 'http://www.plantuml.com/plantuml/img/'+encoded})

update.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
git add --all .
2+
git commit -m "Port updated"
3+
git push heroku master
4+

0 commit comments

Comments
 (0)