mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
Use whitelabel routes for wl-specific requests
This commit is contained in:
parent
38aa567ab5
commit
0a17ec0414
@ -17,7 +17,8 @@ function getWalletApiUrls(subdomain) {
|
||||
'piece': walletConstants.walletApiEndpoint + subdomain + '/pieces/${piece_id}/',
|
||||
'user': walletConstants.walletApiEndpoint + subdomain + '/users/'
|
||||
};
|
||||
} else if (subdomain === 'lumenus' || subdomain === '23vivi') {
|
||||
} else if (subdomain === 'lumenus' || subdomain === '23vivi' ||
|
||||
subdomain === 'polline' || subdomain === 'artcity') {
|
||||
return {
|
||||
'editions_list': walletConstants.walletApiEndpoint + 'markets/' + subdomain + '/pieces/${piece_id}/editions/',
|
||||
'edition': walletConstants.walletApiEndpoint + 'markets/' + subdomain + '/editions/${bitcoin_id}/',
|
||||
|
Loading…
Reference in New Issue
Block a user