You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.
Hello,
I was trying to test the mobile app with multiple endpoints and I cant get the sign up to work!
The login works but the sign up it just hangs when I try to sign up! I also see the endpoints and the qrcode works as expected.
With the default one endpoint it works but not with two!
`import { EndpointCloud } from '../types/Tenant';
export default class Configuration {
public static readonly SERVER_URL_PREFIX = 'https://rest.';
public static readonly URL_PREFIX = 'https://';
public static readonly FIRST_REST_ENDPOINT_PROD =
${Configuration.SERVER_URL_PREFIX}first_domain
;public static readonly AWS_REST_ENDPOINT_QA = 'https://first_domain';
public static readonly SECOND_REST_ENDPOINT_PROD =
${Configuration.SERVER_URL_PREFIX}second_domain
;public static readonly CAPTCHA_SITE_KEY = 'captchakey';
public static readonly FIRST_CLOUD_ID = 'first';
public static readonly SECOND_CLOUD_ID = 'second';
public static readonly ENDPOINT_CLOUDS: EndpointCloud[] = [
{ id: Configuration.FIRST_CLOUD_ID, name: '1st endpoint', endpoint: Configuration.FIRST_REST_ENDPOINT_PROD },
{ id: Configuration.SECOND_CLOUD_ID, name: '2nd endpoint', endpoint: Configuration.SECOND_REST_ENDPOINT_PROD }
];
public static isServerLocalePreferred = true;
public static DEV_ENDPOINT_CLOUDS = [
{
id: '127.0.0.1:8080',
name: 'localhost',
endpoint: 'http://localhost:8020'
},
{
id: '10.0.2.2:8080',
name: 'android-local:8080',
endpoint: 'http://10.0.2.2:8080'
},
{
id: 'kubernetes',
name: 'QA',
endpoint: Configuration.AWS_REST_ENDPOINT_QA
}
];
public static readonly DEVELOPMENT_ENDPOINT_CLOUDS: EndpointCloud[] = [
...Configuration.ENDPOINT_CLOUDS,
...Configuration.DEV_ENDPOINT_CLOUDS
];
public static getEndpoints(): EndpointCloud[] {
if (DEV) {
return Configuration.DEVELOPMENT_ENDPOINT_CLOUDS;
} else {
return Configuration.ENDPOINT_CLOUDS;
}
}
}`
The text was updated successfully, but these errors were encountered: