Skip to content

Commit

Permalink
Revert "chore: revert changes to heliaServer.ts"
Browse files Browse the repository at this point in the history
This reverts commit 896a42d.
  • Loading branch information
SgtPooki committed Oct 24, 2023
1 parent 896a42d commit 50b037d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/heliaServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,11 @@ export class HeliaServer {
public sessionId (request: Request): string {
return request.sessionID ?? request.path
}

/**
* Stop the server
*/
async stop (): Promise<void> {
await this.heliaFetch.stop()
}
}

0 comments on commit 50b037d

Please sign in to comment.