forked from trent_larson/crowd-funder-for-time-pwa
allow to switch the server
This commit is contained in:
@@ -49,7 +49,8 @@ export async function testServerRegisterUser() {
|
||||
// Make the xhr request payload
|
||||
|
||||
const payload = JSON.stringify({ jwtEncoded: vcJwt });
|
||||
const endorserApiServer = AppString.DEFAULT_ENDORSER_API_SERVER;
|
||||
const endorserApiServer =
|
||||
settings?.apiServer || AppString.TEST_ENDORSER_API_SERVER;
|
||||
const url = endorserApiServer + "/api/claim";
|
||||
const headers = {
|
||||
"Content-Type": "application/json",
|
||||
|
||||
Reference in New Issue
Block a user