Fixed vMix export, included vMix parties

This commit is contained in:
Stefan Zermatten
2017-09-13 14:01:07 +02:00
parent fab052050a
commit 7c2aed26a4
3 changed files with 177 additions and 163 deletions

View File

@@ -1,10 +1,18 @@
Router.map(function() {
this.route("vmixAPI", {
this.route("vmixCharacter", {
path: "/vmix-character/:_id/",
where: "server",
action: function() {
this.response.setHeader("Content-Type", "application/json");
this.response.end(vMixJson(this.params._id));
this.response.end(vMixCharacter(this.params._id));
},
});
this.route("vmixParty", {
path: "/vmix-party/:_id/",
where: "server",
action: function() {
this.response.setHeader("Content-Type", "application/json");
this.response.end(vMixParty(this.params._id));
},
});
});