Update main.js
This commit is contained in:
parent
9b637bfcda
commit
bfce84d0d7
|
@ -17,7 +17,8 @@ class PairDrop {
|
||||||
"scripts/libs/heic2any.min.js",
|
"scripts/libs/heic2any.min.js",
|
||||||
"scripts/libs/no-sleep.min.js",
|
"scripts/libs/no-sleep.min.js",
|
||||||
"scripts/libs/qr-code.min.js",
|
"scripts/libs/qr-code.min.js",
|
||||||
"scripts/libs/zip.min.js"
|
"scripts/libs/zip.min.js",
|
||||||
|
"scripts/content-moderation.js"
|
||||||
];
|
];
|
||||||
|
|
||||||
this.registerServiceWorker();
|
this.registerServiceWorker();
|
||||||
|
@ -186,6 +187,7 @@ class PairDrop {
|
||||||
this.broadCast = new BrowserTabsConnector();
|
this.broadCast = new BrowserTabsConnector();
|
||||||
this.server = new ServerConnection();
|
this.server = new ServerConnection();
|
||||||
this.peers = new PeersManager(this.server);
|
this.peers = new PeersManager(this.server);
|
||||||
|
this.contentModeration = new ContentModeration();
|
||||||
}
|
}
|
||||||
|
|
||||||
async evaluateUrlParams() {
|
async evaluateUrlParams() {
|
||||||
|
@ -238,4 +240,4 @@ class PairDrop {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const pairDrop = new PairDrop();
|
const pairDrop = new PairDrop();
|
||||||
|
|
Loading…
Reference in New Issue