Schafkopf-Server/Sources/Run/main.swift
2023-02-16 18:31:30 +01:00

12 lines
208 B
Swift

import App
import Vapor
var env = try Environment.detect()
try LoggingSystem.bootstrap(from: &env)
let app = Application(env)
defer { app.shutdown() }
Task {
try await configure(app)
try app.run()
}