removed unused depends and qr code depend as not necessary
This commit is contained in:
parent
34e447f990
commit
8f5a123412
2 changed files with 1 additions and 12 deletions
|
@ -6,8 +6,7 @@ import * as getPort from "get-port";
|
|||
import {search} from "youtube-search-without-api-key";
|
||||
import {existsSync, mkdirSync, readdirSync, readFileSync, writeFileSync} from "fs";
|
||||
import {Stream} from "stream";
|
||||
import {generate as generateQR} from "qrcode-terminal";
|
||||
import {hostname, networkInterfaces} from "os";
|
||||
import {networkInterfaces} from "os";
|
||||
import * as mm from 'music-metadata';
|
||||
import fetch from 'electron-fetch'
|
||||
import {wsapi} from "./wsapi";
|
||||
|
@ -287,9 +286,6 @@ export class BrowserWindow {
|
|||
this.broadcastRemote()
|
||||
remote.listen(this.remotePort, () => {
|
||||
console.log(`Cider remote port: ${this.remotePort}`);
|
||||
if (firstRequest) {
|
||||
generateQR(`http://${hostname}:${this.remotePort}`);
|
||||
}
|
||||
firstRequest = false;
|
||||
})
|
||||
remote.get("/", (_req, res) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue