This commit is contained in:
Ondrej Zara 2019-04-12 13:48:00 +02:00
parent 5db2de42d4
commit 4a620ab7a3
3 changed files with 3 additions and 2 deletions

View file

@ -4,7 +4,7 @@ import * as html from "./lib/html.js";
import * as format from "./lib/format.js"; import * as format from "./lib/format.js";
import * as pubsub from "./lib/pubsub.js"; import * as pubsub from "./lib/pubsub.js";
const DELAY = 2000; const DELAY = 1000;
const DOM = {}; const DOM = {};
let current = {}; let current = {};

View file

@ -60,3 +60,4 @@ function onRequest(request, response) {
let httpServer = require("http").createServer(onRequest).listen(port); let httpServer = require("http").createServer(onRequest).listen(port);
require("ws2mpd").ws2mpd(httpServer, `http://localhost:${port}`); require("ws2mpd").ws2mpd(httpServer, `http://localhost:${port}`);
require("ws2mpd").logging(false);

View file

@ -5,7 +5,7 @@
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"node-static": "^0.7.11", "node-static": "^0.7.11",
"ws2mpd": "^1.0.0" "ws2mpd": "^1.1.0"
}, },
"devDependencies": { "devDependencies": {
"less": "^3.9.0" "less": "^3.9.0"