added kashkool

This commit is contained in:
2026-06-11 22:29:28 +03:30
parent ddf818ede4
commit d4ac54aa6a
9 changed files with 143 additions and 20 deletions
+9
View File
@@ -7,3 +7,12 @@ export function getConfigApp(key: string) {
}
return null
}
export function isStoreApp(): boolean {
const value = getConfigApp('is_store')
if (value === true || value === 1) return true
if (typeof value === 'string') {
return ['true', '1', 'yes'].includes(value.trim().toLowerCase())
}
return false
}