diff --git a/.swiftpm/xcode/package.xcworkspace/xcuserdata/michielcarman.xcuserdatad/UserInterfaceState.xcuserstate b/.swiftpm/xcode/package.xcworkspace/xcuserdata/michielcarman.xcuserdatad/UserInterfaceState.xcuserstate index 684f6fb..62a336f 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 5eb3cf6..52b4370 100755 --- a/Sources/App/configure.swift +++ b/Sources/App/configure.swift @@ -6,8 +6,8 @@ import Vapor 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 = "1mb" - let timeout = HTTPClient.Configuration.Timeout(connect: .seconds(1000), read: .seconds(1000)) + app.routes.defaultMaxBodySize = "1000kb" + 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