mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 07:05:05 -04:00
replace "snapdrop" with "pairdrop" and change links accordingly + add changes to faq and readme
This commit is contained in:
parent
bef7459019
commit
fed9d17dc8
12 changed files with 100 additions and 124 deletions
6
index.js
6
index.js
|
@ -81,7 +81,7 @@ server.listen(port);
|
|||
const parser = require('ua-parser-js');
|
||||
const { uniqueNamesGenerator, animals, colors } = require('unique-names-generator');
|
||||
|
||||
class SnapdropServer {
|
||||
class PairdropServer {
|
||||
|
||||
constructor() {
|
||||
const WebSocket = require('ws');
|
||||
|
@ -91,7 +91,7 @@ class SnapdropServer {
|
|||
this._rooms = {};
|
||||
this._roomSecrets = {};
|
||||
|
||||
console.log('Snapdrop is running on port', port);
|
||||
console.log('Pairdrop is running on port', port);
|
||||
}
|
||||
|
||||
_onConnection(peer) {
|
||||
|
@ -588,4 +588,4 @@ Object.defineProperty(String.prototype, 'hashCode', {
|
|||
}
|
||||
});
|
||||
|
||||
new SnapdropServer();
|
||||
new PairdropServer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue