mirror of
https://github.com/zoriya/flood.git
synced 2025-12-05 23:06:20 +00:00
server: remove port requirement, permit running on paths (#680)
This commit is contained in:
@@ -67,11 +67,11 @@ export const configSchema = strictObject({
|
||||
// CLI argument: --host / -h
|
||||
// The host that Flood should listen for web connections on.
|
||||
// To listen on all interfaces, change to `floodServerHost: '0.0.0.0'`. [default: '127.0.0.1']
|
||||
floodServerHost: string(),
|
||||
floodServerHost: string().optional(),
|
||||
|
||||
// CLI argument: --port / -p
|
||||
// The port that Flood should listen for web connections on. [default: 3000]
|
||||
floodServerPort: number().int().positive(),
|
||||
// The port or path that Flood should listen for web connections on. [default: 3000]
|
||||
floodServerPort: number().int().positive().or(string()),
|
||||
|
||||
// CLI argument: --maxhistorystates
|
||||
// Flood keeps a history of torrent download and upload speeds.
|
||||
|
||||
Reference in New Issue
Block a user