vapor again

This commit is contained in:
2023-09-11 21:08:38 -07:00
parent 96073ed048
commit 7f3586cd36
23 changed files with 424 additions and 39 deletions

9
Sources/Run/main.swift Normal file
View File

@@ -0,0 +1,9 @@
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()