feat: support change media upload service
This commit is contained in:
parent
2e552c356c
commit
bc0fa7f528
11 changed files with 198 additions and 41 deletions
|
|
@ -35,11 +35,12 @@ export const toOthersRelaySettings = (pubkey: string) => {
|
|||
const npub = nip19.npubEncode(pubkey)
|
||||
return `/users/${npub}/relays`
|
||||
}
|
||||
export const toRelaySettings = (tag?: 'mailbox' | 'favorite-relays') => {
|
||||
return '/relay-settings' + (tag ? '#' + tag : '')
|
||||
}
|
||||
export const toSettings = () => '/settings'
|
||||
export const toWallet = () => '/wallet'
|
||||
export const toRelaySettings = (tag?: 'mailbox' | 'favorite-relays') => {
|
||||
return '/settings/relays' + (tag ? '#' + tag : '')
|
||||
}
|
||||
export const toWallet = () => '/settings/wallet'
|
||||
export const toPostSettings = () => '/settings/posts'
|
||||
export const toProfileEditor = () => '/profile-editor'
|
||||
export const toRelay = (url: string) => `/relays/${encodeURIComponent(url)}`
|
||||
export const toMuteList = () => '/mutes'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue