Use whitelabel routes for wl-specific requests

This commit is contained in:
Tim Daubenschütz 2016-02-04 14:45:46 +01:00
parent 38aa567ab5
commit 0a17ec0414
1 changed files with 2 additions and 1 deletions

View File

@ -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}/',