Set server port
This commit is contained in:
parent
4cd9bd52da
commit
49b4e98922
@ -7,6 +7,8 @@ var server: SQLiteDatabase!
|
|||||||
public func configure(_ app: Application) throws {
|
public func configure(_ app: Application) throws {
|
||||||
let storageFolder = URL(fileURLWithPath: app.directory.resourcesDirectory)
|
let storageFolder = URL(fileURLWithPath: app.directory.resourcesDirectory)
|
||||||
|
|
||||||
|
app.http.server.configuration.port = 6002
|
||||||
|
|
||||||
// Set target environment
|
// Set target environment
|
||||||
app.environment = .production
|
app.environment = .production
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user