Caps-Server/Sources/Run/main.swift
Christoph Hagen 5672fbf300 Update vapor
2020-09-20 11:36:35 +02:00

10 lines
185 B
Swift
Executable File

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()