Fix upload size

This commit is contained in:
Christoph Hagen 2021-01-09 17:30:00 +01:00
parent 423fd01935
commit 5922f5b23e
3 changed files with 3 additions and 16185 deletions

2
.gitignore vendored
View File

@ -66,4 +66,6 @@ fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
Package.resolved
CapCollectorServer.xcodeproj

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,7 @@ public func configure(_ app: Application) throws {
// app.middleware.use(FileMiddleware(publicDirectory: app.directory.publicDirectory))
app.http.server.configuration.port = 6001
app.routes.defaultMaxBodySize = "2mb"
// Register routes to the router
try routes(app)