Skip to content
Permalink
Browse files

Updates

  • Loading branch information...
makitsune committed Feb 27, 2019
1 parent 8394559 commit 9be46a330c147532141252dc9b7e55df7ddddfa3
Showing with 22 additions and 3 deletions.
  1. +3 −1 .gitignore
  2. +4 −2 express-routes/video-sync/app.js
  3. +15 −0 express-routes/video-sync/package.json
@@ -1 +1,3 @@
*.blend1
*.blend1
node_modules
package-lock.json
@@ -15,12 +15,14 @@ app.use("/video-sync", require("./video=sync/app")({
*/

var socket = require("socket.io");
//var socket = require("socket.io");

var express = require("express");
var path = require("path");
var fs = require("fs");

module.exports = function(opts) {

if (opts.io == undefined) return (req,res,next)=>next();
if (opts.rooms == undefined) return (req,res,next)=>next();
Object.assign(this, opts);
@@ -95,4 +97,4 @@ module.exports = function(opts) {
});

return router;
}
}
@@ -0,0 +1,15 @@
{
"name": "video-sync",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.16.4"
}
}

0 comments on commit 9be46a3

Please sign in to comment.
You can’t perform that action at this time.