Change internal port

This commit is contained in:
Christoph Hagen 2022-01-25 18:22:33 +01:00
parent 20fa7286ea
commit f891087705

View File

@ -4,7 +4,7 @@ var keyManager: KeyManagement!
// configures your application // configures your application
public func configure(_ app: Application) throws { public func configure(_ app: Application) throws {
app.http.server.configuration.port = 10000 app.http.server.configuration.port = 6003
let storageFolder = URL(fileURLWithPath: app.directory.resourcesDirectory) let storageFolder = URL(fileURLWithPath: app.directory.resourcesDirectory)
let keyFile = storageFolder.appendingPathComponent("device.key") let keyFile = storageFolder.appendingPathComponent("device.key")