2020-05-17 20:01:30 +02:00
|
|
|
import App
|
|
|
|
import Vapor
|
|
|
|
|
2023-02-06 21:31:12 +01:00
|
|
|
var env = Environment.production
|
2020-09-20 11:36:35 +02:00
|
|
|
try LoggingSystem.bootstrap(from: &env)
|
|
|
|
let app = Application(env)
|
|
|
|
defer { app.shutdown() }
|
|
|
|
try configure(app)
|
|
|
|
try app.run()
|