Last active
October 15, 2020 14:02
-
-
Save svkrclg/d6964f5ee7ea5003e227df449d2b6786 to your computer and use it in GitHub Desktop.
CIU script to run on prod
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To set available for CIU user | |
RedisUtils.ciu_live_set_availability_status(true) | |
#To disable ciu user | |
# RedisUtils.ciu_live_set_availability_status(false) | |
#To set desktop support | |
RedisUtils.ciu_live_set_platform_support("desktop", true) | |
#To disable desktop support | |
#RedisUtils.ciu_live_set_platform_support("desktop", false) | |
#To set device support | |
RedisUtils.ciu_live_set_platform_support("device", true) | |
#To disable device support | |
#RedisUtils.ciu_live_set_platform_support("device", false) | |
#Blacklist OSX catalina | |
RedisUtils.ciu_live_set_disabled_platform("desktop", "OS X", "Catalina") | |
#Blacklist browser safari techpreview | |
RedisUtils.RedisUtils.ciu_add_blacklist_browsers("safari", "9.1.1 techpreview") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment