Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions packages/mask/src/plugins/Avatar/constants.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
export const RSS3_APP = 'https://hub.pass3.me'
export const NFT_AVATAR_JSON_SERVER = 'https://dimensiondev.github.io/Maskbook-Configuration/com.maskbook.avatar.json'
export const NFT_AVATAR_JSON_SERVER = 'https://configuration.r2d2.to/com.maskbook.avatar.json'
export const NFT_AVATAR_GUN_SERVER = 'com.maskbook.user'

export const NFT_CONTRACT_JSON_VERIFIED_SERVER =
'https://dimensiondev.github.io/Maskbook-Configuration/com.maskbook.verified_nft.json'
export const NFT_CONTRACT_JSON_VERIFIED_SERVER = 'https://configuration.r2d2.to/com.maskbook.verified_nft.json'
export const PLUGIN_ID = 'com.maskbook.avatar'
export const PLUGIN_NAME = 'Avatar'
export const PLUGIN_DESCRIPTION = 'NFT Avatar'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export type Dao_Payload = {
version: number
}
export function useDao(identifier: ProfileIdentifier) {
const api = `https://dimensiondev.github.io/Maskbook-Configuration/com.maskbook.dao-${identifier.userId.toLowerCase()}.json`
const api = `https://configuration.r2d2.to/com.maskbook.dao-${identifier.userId.toLowerCase()}.json`
return useAsyncRetry(async () => {
if (identifier.isUnknown) return
try {
Expand Down