diff --git a/.swiftpm/xcode/package.xcworkspace/xcuserdata/michielcarman.xcuserdatad/UserInterfaceState.xcuserstate b/.swiftpm/xcode/package.xcworkspace/xcuserdata/michielcarman.xcuserdatad/UserInterfaceState.xcuserstate index 62a336f..b2d5e9d 100644 Binary files a/.swiftpm/xcode/package.xcworkspace/xcuserdata/michielcarman.xcuserdatad/UserInterfaceState.xcuserstate and b/.swiftpm/xcode/package.xcworkspace/xcuserdata/michielcarman.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Sources/App/configure.swift b/Sources/App/configure.swift index 52b4370..14ef37b 100755 --- a/Sources/App/configure.swift +++ b/Sources/App/configure.swift @@ -7,8 +7,8 @@ public func configure(_ app: Application) async throws { // uncomment to serve files from /Public folder // app.middleware.use(FileMiddleware(publicDirectory: app.directory.publicDirectory)) app.routes.defaultMaxBodySize = "1000kb" - let timeout = HTTPClient.Configuration.Timeout(connect: .seconds(300), read: .seconds(300)) - app.http.client.configuration.timeout = timeout +// let timeout = HTTPClient.Configuration.Timeout(connect: .seconds(300), read: .seconds(300)) +// app.http.client.configuration.timeout = timeout app.databases.use(.postgres(hostname: "localhost", username: "mcarman", password: "@ng31F@rm0823262", database: "fueling"), as: .psql) app.http.server.configuration.port = 3001 app.migrations.add(CreateFuelEntry())