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

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
doHernandezM committed Sep 12, 2021
1 parent 9ced26d commit d8402e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Sources/ApusRubus/ARDevice.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import SwiftyPi

open class ARDevice: SwiftyPiDevice {

override init(state: SwiftyPiDeviceState, device: Int) {
public override init(state: SwiftyPiDeviceState, device: Int) {
super.init(state: state, device: device)

}
Expand Down
10 changes: 2 additions & 8 deletions Sources/ApusRubus/Vapor/VaporController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,9 @@ public class VaporController {
app!.http.server.configuration.hostname = "0.0.0.0"
// register routes
try routes(app!)
print(app!.routes.all)

// print(app!.routes.all)


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


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

0 comments on commit d8402e8

Please sign in to comment.