no origin
This commit is contained in:
parent
e0ab191d72
commit
51c3bd1ea9
1 changed files with 2 additions and 1 deletions
3
index.js
3
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);
|
||||
|
|
Loading…
Reference in a new issue