mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 07:05:05 -04:00
refactor "Pairdrop" to "PairDrop"
This commit is contained in:
parent
665aa857d7
commit
785db26882
8 changed files with 41 additions and 39 deletions
6
index.js
6
index.js
|
@ -85,7 +85,7 @@ server.listen(port);
|
|||
const parser = require('ua-parser-js');
|
||||
const { uniqueNamesGenerator, animals, colors } = require('unique-names-generator');
|
||||
|
||||
class PairdropServer {
|
||||
class PairDropServer {
|
||||
|
||||
constructor() {
|
||||
const WebSocket = require('ws');
|
||||
|
@ -95,7 +95,7 @@ class PairdropServer {
|
|||
this._rooms = {};
|
||||
this._roomSecrets = {};
|
||||
|
||||
console.log('Pairdrop is running on port', port);
|
||||
console.log('PairDrop is running on port', port);
|
||||
}
|
||||
|
||||
_onConnection(peer) {
|
||||
|
@ -592,4 +592,4 @@ Object.defineProperty(String.prototype, 'hashCode', {
|
|||
}
|
||||
});
|
||||
|
||||
new PairdropServer();
|
||||
new PairDropServer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue