From 51c3bd1ea9e31428ce6cbdb5808fecf41f408931 Mon Sep 17 00:00:00 2001 From: Ondrej Zara Date: Sun, 14 Apr 2019 22:34:44 +0200 Subject: [PATCH] no origin --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 4e67a0f..2b81cf3 100644 --- a/index.js +++ b/index.js @@ -58,5 +58,6 @@ function onRequest(request, response) { } let httpServer = require("http").createServer(onRequest).listen(port); -require("ws2mpd").ws2mpd(httpServer, `http://localhost:${port}`); +require("ws2mpd").ws2mpd(httpServer, /.*/); +//require("ws2mpd").ws2mpd(httpServer, `http://localhost:${port}`); //require("ws2mpd").logging(false);