Sesame-Server/Sources/App/Config.swift

14 lines
345 B
Swift
Raw Normal View History

2022-04-13 14:57:02 +02:00
import Foundation
struct Config {
/// The port where the server runs
static let port = 6003
/// The name of the file in the `Resources` folder containing the device authentication token
static let keyFileName = "deviceKey"
/// The seconds to wait for a response from the device
static let deviceTimeout: Int64 = 20
}