mirror of
https://github.com/UiO-Gaming/infoscreen3.git
synced 2026-11-05 13:56:52 +01:00
updates and fixes
This commit is contained in:
1 parent
47ec3fdec1
commit
0000620a00
6 files changed
+3011
-732
No files matched your search
@@ -9,9 +9,9 @@ When you need to display same content to multiple locations or need to remotely
|
||||
* The output resolution does not matter, all contents are automatically scaled from the Full HD source
|
||||
* Finnish and English language support, sets automatically from browser language.
|
||||
* Multiple renderers to choose from:
|
||||
1. WebGL (with 60+ changeable transitions)
|
||||
2. CSS3 (only blinds3D)
|
||||
3. Lite (only cross fade)
|
||||
1. WebGL (with 60+ changeable transitions)
|
||||
2. CSS3 (only blinds3D)
|
||||
3. Lite (only cross fade)
|
||||
* in case your viewer laptop is totally a potato
|
||||
* Content
|
||||
* Multiple screen locations, for example big screen may have different slide shows than kiosk -screen etc.
|
||||
|
||||
@@ -18,7 +18,11 @@ let server = require('http').Server(app);
|
||||
let io = require('socket.io')(server, {
|
||||
cookieHttpOnly: true,
|
||||
cookieSecure: false,
|
||||
cookie: false
|
||||
cookie: false,
|
||||
cors: {
|
||||
origin: "*",
|
||||
methods: ["GET", "POST"]
|
||||
}
|
||||
});
|
||||
let i18next = require("i18next");
|
||||
let FilesystemBackend = require("i18next-node-fs-backend");
|
||||
|
||||
Generated
+2990
-715
File diff suppressed because it is too large.
Load diff
+8
-8
@@ -8,7 +8,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"basic-auth": "^2.0.1",
|
||||
"bufferutil": "^4.0.1",
|
||||
"bufferutil": "^4.0.3",
|
||||
"chalk": "^4.1.0",
|
||||
"connect-busboy": "^0.0.2",
|
||||
"connect-ensure-login": "^0.1.1",
|
||||
@@ -24,18 +24,18 @@
|
||||
"i18next-express-middleware": "2.0.0",
|
||||
"i18next-node-fs-backend": "2.1.3",
|
||||
"less-middleware": "3.1.0",
|
||||
"lodash": "4.17.20",
|
||||
"lodash": "^4.17.21",
|
||||
"minimist": "1.2.5",
|
||||
"morgan": "1.10.0",
|
||||
"node-media-server": "2.2.4",
|
||||
"node-media-server": "2.2.8",
|
||||
"node.extend": "2.0.2",
|
||||
"passport": "^0.4.1",
|
||||
"passport-local": "^1.0.0",
|
||||
"passport.socketio": "^3.7.0",
|
||||
"rate-limiter-flexible": "^2.1.10",
|
||||
"socket.io": "^2.3.0",
|
||||
"sqlite3": "^5.0.0",
|
||||
"twig": "1.15.2",
|
||||
"utf-8-validate": "5.0.2"
|
||||
"rate-limiter-flexible": "^2.2.1",
|
||||
"socket.io": "^4.1.2",
|
||||
"sqlite3": "^5.0.2",
|
||||
"twig": "1.15.4",
|
||||
"utf-8-validate": "5.0.5"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -323,7 +323,7 @@ class Sketch {
|
||||
return obj.name == name;
|
||||
});
|
||||
|
||||
if (!transition) {
|
||||
if (transition == undefined) {
|
||||
transition = window.GLTransitions[39];
|
||||
}
|
||||
|
||||
|
||||
+4
-4
@@ -111,7 +111,7 @@ module.exports = function (pluginManager, websocket, dispatcher) {
|
||||
res.sendFile(req.params.name, options, function (err) {
|
||||
if (err) {
|
||||
cli.error(err);
|
||||
res.end();
|
||||
res.status(404).end();
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -129,7 +129,7 @@ module.exports = function (pluginManager, websocket, dispatcher) {
|
||||
res.sendFile(req.params.name, options, function (err) {
|
||||
if (err) {
|
||||
cli.error(err);
|
||||
res.end();
|
||||
res.status(404).end();
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -147,7 +147,7 @@ module.exports = function (pluginManager, websocket, dispatcher) {
|
||||
res.sendFile("display_" + req.params.displayId + ".png", options, function (err) {
|
||||
if (err) {
|
||||
cli.error(err);
|
||||
res.end();
|
||||
res.status(404).end();
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -165,7 +165,7 @@ module.exports = function (pluginManager, websocket, dispatcher) {
|
||||
res.sendFile(req.params.name, options, function (err) {
|
||||
if (err) {
|
||||
cli.error(err);
|
||||
res.end();
|
||||
res.status(404).end();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user