mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +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}/',
|
'piece': walletConstants.walletApiEndpoint + subdomain + '/pieces/${piece_id}/',
|
||||||
'user': walletConstants.walletApiEndpoint + subdomain + '/users/'
|
'user': walletConstants.walletApiEndpoint + subdomain + '/users/'
|
||||||
};
|
};
|
||||||
} else if (subdomain === 'lumenus' || subdomain === '23vivi') {
|
} else if (subdomain === 'lumenus' || subdomain === '23vivi' ||
|
||||||
|
subdomain === 'polline' || subdomain === 'artcity') {
|
||||||
return {
|
return {
|
||||||
'editions_list': walletConstants.walletApiEndpoint + 'markets/' + subdomain + '/pieces/${piece_id}/editions/',
|
'editions_list': walletConstants.walletApiEndpoint + 'markets/' + subdomain + '/pieces/${piece_id}/editions/',
|
||||||
'edition': walletConstants.walletApiEndpoint + 'markets/' + subdomain + '/editions/${bitcoin_id}/',
|
'edition': walletConstants.walletApiEndpoint + 'markets/' + subdomain + '/editions/${bitcoin_id}/',
|
||||||
|
Loading…
Reference in New Issue
Block a user