Configure first WebSocket test

This commit is contained in:
Christoph Hagen
2022-01-23 20:49:06 +01:00
parent 8722d21e9b
commit 145f68268a
5 changed files with 93 additions and 0 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()