diff --git a/Sources/App/entrypoint.swift b/Sources/App/entrypoint.swift index 804c54e..2cf05a5 100644 --- a/Sources/App/entrypoint.swift +++ b/Sources/App/entrypoint.swift @@ -23,7 +23,7 @@ private extension Vapor.Application { @main enum Entrypoint { static func main() async throws { - var env = Environment.production + var env = try Environment.detect() try LoggingSystem.bootstrap(from: &env) let app = Application(env)