Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
doHernandezM committed Sep 11, 2021
1 parent 44540cb commit 9ced26d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Sources/ApusRubus/Vapor/VaporController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ public class VaporController {
// register routes
try routes(app!)
print(app!.routes.all)
try app!.run()



_ = try app(.detect()).asyncRun()
RunLoop.main.run()


// try app!.run()
} catch {
env = nil
app = nil
Expand Down

0 comments on commit 9ced26d

Please sign in to comment.