mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Configuration
* Added flags to customize the host and port * Start up just one server rather than a server for HTTP and HTTPS. HTTPS server will only start if a cert and key are found
This commit is contained in:
@@ -5,4 +5,4 @@ import "math"
|
||||
// IsValidFloat64 ensures the given value is a valid number (not NaN) which is not equal to 0
|
||||
func IsValidFloat64(value float64) bool {
|
||||
return !math.IsNaN(value) && value != 0
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user