Kaynağa Gözat

Move back to Swift Tools 5.8 and move to port 3002.

v2_uploadImages
admin 2 yıl önce
ebeveyn
işleme
607135f873
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +1
    -1
      Package.swift
  2. +1
    -1
      Sources/App/configure.swift

+ 1
- 1
Package.swift Dosyayı Görüntüle

@@ -1,4 +1,4 @@
// swift-tools-version:5.7.3
// swift-tools-version:5.8
import PackageDescription import PackageDescription


let package = Package( let package = Package(


+ 1
- 1
Sources/App/configure.swift Dosyayı Görüntüle

@@ -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())


Yükleniyor…
İptal
Kaydet