Added basic vMix server side api
This commit is contained in:
10
rpg-docs/Routes/API.js
Normal file
10
rpg-docs/Routes/API.js
Normal file
@@ -0,0 +1,10 @@
|
||||
Router.map(function() {
|
||||
this.route("vmixAPI", {
|
||||
path: "/vmix-character/:_id/",
|
||||
where: "server",
|
||||
action: function() {
|
||||
this.response.setHeader("Content-Type", "application/json");
|
||||
this.response.end(vMixJson(this.params._id));
|
||||
},
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user