Fix upload size
This commit is contained in:
parent
423fd01935
commit
5922f5b23e
2
.gitignore
vendored
2
.gitignore
vendored
@ -66,4 +66,6 @@ fastlane/report.xml
|
|||||||
fastlane/Preview.html
|
fastlane/Preview.html
|
||||||
fastlane/screenshots
|
fastlane/screenshots
|
||||||
fastlane/test_output
|
fastlane/test_output
|
||||||
|
|
||||||
Package.resolved
|
Package.resolved
|
||||||
|
CapCollectorServer.xcodeproj
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -6,6 +6,7 @@ public func configure(_ app: Application) throws {
|
|||||||
// app.middleware.use(FileMiddleware(publicDirectory: app.directory.publicDirectory))
|
// app.middleware.use(FileMiddleware(publicDirectory: app.directory.publicDirectory))
|
||||||
|
|
||||||
app.http.server.configuration.port = 6001
|
app.http.server.configuration.port = 6001
|
||||||
|
app.routes.defaultMaxBodySize = "2mb"
|
||||||
|
|
||||||
// Register routes to the router
|
// Register routes to the router
|
||||||
try routes(app)
|
try routes(app)
|
||||||
|
Loading…
Reference in New Issue
Block a user