Set server port

This commit is contained in:
Christoph Hagen 2021-12-23 09:38:31 +01:00
parent 4cd9bd52da
commit 49b4e98922

View File

@ -7,6 +7,8 @@ var server: SQLiteDatabase!
public func configure(_ app: Application) throws {
let storageFolder = URL(fileURLWithPath: app.directory.resourcesDirectory)
app.http.server.configuration.port = 6002
// Set target environment
app.environment = .production