Skip to content

Commit de000dd

Browse files
authored
Merge pull request #2795 from nervosnetwork/testnet
Deploy to mainnet
2 parents 0eba0b7 + ead9382 commit de000dd

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

app/models/udt.rb

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,10 @@ def icon_file
5252
domain2 = "goldenlegend.oss-cn-hangzhou.aliyuncs.com"
5353
regex = Regexp.new("#{Regexp.escape(domain1)}|#{Regexp.escape(domain2)}")
5454

55-
raw.gsub(regex, "https://images.nftbox.me/")
55+
raw.gsub(regex, "images.nftbox.me")
5656
end
5757
end
5858

59-
# def icon_file
60-
# self[:icon_url]
61-
# # return self[:icon_url] if self[:icon_url].nil?
62-
63-
# # domain1 = "oss.jinse.cc"
64-
# # domain2 = "goldenlegend.oss-cn-hangzhou.aliyuncs.com"
65-
# # regex = Regexp.new("#{Regexp.escape(domain1)}|#{Regexp.escape(domain2)}")
66-
67-
# # self[:icon_url].gsub(regex, "https://images.nftbox.me/")
68-
# end
69-
7059
def holders_count
7160
udt_holder_allocations.sum("ckb_holder_count + btc_holder_count")
7261
end

0 commit comments

Comments
 (0)