Skip to content

Commit

Permalink
Fix deprecated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zltnDC committed Sep 15, 2023
1 parent 3d176e8 commit d482fe5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import Foundation

provider.setupRoutes(server: server)

try server.start(onPort: UInt16(port))
try server.start(port: port)

Logger.shared.i("Server started on http://0.0.0.0:\(port)")
#endif
Expand Down

0 comments on commit d482fe5

Please sign in to comment.