mirror of
https://github.com/fosrl/badger.git
synced 2026-10-23 13:09:09 +02:00
make change
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
|
// Package ips contains a list of current cloud flare IP ranges
|
||||||
package ips
|
package ips
|
||||||
|
|
||||||
|
// CFIPs is the CloudFlare Server IP list (this is checked on build).
|
||||||
func CFIPs() []string {
|
func CFIPs() []string {
|
||||||
return []string{
|
return []string{
|
||||||
"173.245.48.0/20",
|
"173.245.48.0/20",
|
||||||
|
|||||||
@@ -70,10 +70,10 @@ type Badger struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func stringOrDefault(value, def string) string {
|
func stringOrDefault(value, def string) string {
|
||||||
if value == "" {
|
if value != "" {
|
||||||
return def
|
return value
|
||||||
}
|
}
|
||||||
return value
|
return def
|
||||||
}
|
}
|
||||||
|
|
||||||
type VerifyBody struct {
|
type VerifyBody struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user