Browse Source

Increased body size

master
rpm-mcarman 3 years ago
parent
commit
aee8dee7d9
2 changed files with 1 additions and 1 deletions
  1. BIN
      .swiftpm/xcode/package.xcworkspace/xcuserdata/michielcarman.xcuserdatad/UserInterfaceState.xcuserstate
  2. +1
    -1
      Sources/App/configure.swift

BIN
.swiftpm/xcode/package.xcworkspace/xcuserdata/michielcarman.xcuserdatad/UserInterfaceState.xcuserstate View File


+ 1
- 1
Sources/App/configure.swift View File

@@ -6,7 +6,7 @@ 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"
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())


Loading…
Cancel
Save