Sha256: 2db444aa50bc40d993d7119586d456ec82eab19c81e35df8693839e7a68d2037
Contents?: true
Size: 694 Bytes
Versions: 11
Compression:
Stored size: 694 Bytes
Contents
CensorBear.configure do |config| config.user_class = "User" config.username_method = "nickname" config.aliyun_green_enable_internal = false if File.exist?("#{Rails.root}/tmp/.debug_ak_sk_value") ak, sk = File.read("#{Rails.root}/tmp/.debug_ak_sk_value").split("\n") config.aliyun_green_access_key_id = ak config.aliyun_green_access_key_secret = sk else config.aliyun_green_access_key_id = "access key id" config.aliyun_green_access_key_secret = "access key secret" end config.aliyun_green_image_callback_url = "http://f.maolvdl.com:1333" config.main_app_root_path_method = "root_path" config.main_app_user_path_method = "edit_user_password_path" end
Version data entries
11 entries across 11 versions & 1 rubygems