mirror of
https://github.com/cupcakearmy/docker-ddns-cloudflare.git
synced 2025-09-10 15:00:41 +00:00
@@ -22,7 +22,7 @@ function getEnv<T>(
|
||||
|
||||
function parseBoolean(value: string): boolean {
|
||||
value = value.toLowerCase()
|
||||
const truthy = ['true', 'yes', '1']
|
||||
const truthy = ['true', 'yes', '1', 'y']
|
||||
return truthy.includes(value)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user