Skip to content

Commit 17d81da

Browse files
committed
Update readme
1 parent 35f68e8 commit 17d81da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ import VercelVapor
6868
@main
6969
struct App: VaporHandler {
7070

71-
static let app: Application = {
71+
static func configure() async throws -> Application {
7272
let app = Application()
7373

7474
app.get { _ in
7575
"Hello, Vapor"
7676
}
7777

7878
return app
79-
}()
79+
}
8080
}
8181
```
8282

0 commit comments

Comments
 (0)