10 lines
185 B
Swift
10 lines
185 B
Swift
import App
|
|
import Vapor
|
|
|
|
var env = try Environment.detect()
|
|
try LoggingSystem.bootstrap(from: &env)
|
|
let app = Application(env)
|
|
defer { app.shutdown() }
|
|
try configure(app)
|
|
try app.run()
|