Sesame-Server/Sources/Run/main.swift
2023-11-08 10:24:50 +01:00

11 lines
196 B
Swift

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