Skip to content

Commit

Permalink
v2.0.0-beta.5
Browse files Browse the repository at this point in the history
- `LetsEncrypt`:
  - `startServer`: use `secureServer.asHttpServer()`

- multi_domain_secure_server: ^1.0.7
  • Loading branch information
gmpassos committed Dec 2, 2024
1 parent eb6b468 commit 39eeaf7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 2.0.0-beta.5

- `LetsEncrypt`:
- `startServer`: use `secureServer.asHttpServer()`

- multi_domain_secure_server: ^1.0.7

## 2.0.0-beta.4

- `LetsEncrypt`:
Expand Down
3 changes: 1 addition & 2 deletions lib/src/letsencrypt.dart
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,7 @@ class LetsEncrypt {
securityContextResolver: (hostname) => securityContexts[hostname],
);

var httpServer = HttpServer.listenOn(
secureServer.asServerSocket(useSecureSocket: true));
var httpServer = secureServer.asHttpServer();

serveRequests(httpServer, handlerWithChallenge);

Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: shelf_letsencrypt
version: 2.0.0-beta.4
version: 2.0.0-beta.5
homepage: https://github.com/gmpassos/shelf_letsencrypt
description: Let's Encrypt support for the shelf package (free and automatic HTTPS certificate support).

Expand All @@ -10,7 +10,7 @@ dependencies:
acme_client: ^1.3.0
basic_utils: ^5.7.0
collection: ^1.18.0
multi_domain_secure_server: ^1.0.6
multi_domain_secure_server: ^1.0.7
path: ^1.9.1
shelf: ^1.4.2

Expand Down

0 comments on commit 39eeaf7

Please sign in to comment.