Skip to content

Commit

Permalink
update doc for #setupServer in src/dwn-server.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
KhoiUna committed Oct 31, 2023
1 parent 75c8233 commit bf1a09a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/dwn-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ export class DwnServer {
}

/**
* Handler for creating a DWN if none exists.
* Handler also starts an HTTP server.
* If `webSocketServerEnabled` is true, this handler also starts a WebSocketServer.
* Function to setup the servers (HTTP and WebSocket)
* The DWN creation is secondary and only happens if it hasn't already been done.
*/
async #setupServer(): Promise<void> {
if (!this.dwn) {
Expand Down

0 comments on commit bf1a09a

Please sign in to comment.