|
|
@@ -10,7 +10,7 @@ public func configure(_ app: Application) async throws { |
|
|
// let timeout = HTTPClient.Configuration.Timeout(connect: .seconds(300), read: .seconds(300)) |
|
|
// let timeout = HTTPClient.Configuration.Timeout(connect: .seconds(300), read: .seconds(300)) |
|
|
// app.http.client.configuration.timeout = timeout |
|
|
// app.http.client.configuration.timeout = timeout |
|
|
app.databases.use(.postgres(hostname: "localhost", username: "mcarman", password: "@ng31F@rm0823262", database: "fueling"), as: .psql) |
|
|
app.databases.use(.postgres(hostname: "localhost", username: "mcarman", password: "@ng31F@rm0823262", database: "fueling"), as: .psql) |
|
|
app.http.server.configuration.port = 3001 |
|
|
|
|
|
|
|
|
app.http.server.configuration.port = 3002 |
|
|
app.migrations.add(CreateFuelEntry()) |
|
|
app.migrations.add(CreateFuelEntry()) |
|
|
app.migrations.add(AddLatitudeAndLongitudeAndRemoveGpsLocationAndImage()) |
|
|
app.migrations.add(AddLatitudeAndLongitudeAndRemoveGpsLocationAndImage()) |
|
|
app.migrations.add(AddImageBackIn()) |
|
|
app.migrations.add(AddImageBackIn()) |
|
|
|