Skip to content

Commit b093487

Browse files
authored
Update README.md
Remove environment detection param
1 parent 7b7368b commit b093487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ struct Handler: APIProtocol {
6666

6767
@main struct HelloWorldVaporServer {
6868
static func main() async throws {
69-
let app = try await Application.make(.detect())
69+
let app = try await Application.make()
7070
let transport = VaporTransport(routesBuilder: app)
7171
let handler = Handler()
7272
try handler.registerHandlers(on: transport, serverURL: URL(string: "/api")!)

0 commit comments

Comments
 (0)