Skip to content

Commit 73a5b3a

Browse files
authored
Merge pull request #2584 from intersective/hotfix/revert-hardcoded-custom-env
Revert "fix"
2 parents ae32822 + a2674b4 commit 73a5b3a

File tree

1 file changed

+30
-33
lines changed

1 file changed

+30
-33
lines changed
Lines changed: 30 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,62 @@
11
export const environment = {
2-
stackName: 'p2-stage',
2+
stackName: '<CUSTOM_STACK_NAME>',
33
authCacheDuration: 5 * 60 * 1000, // 5 minutes
4-
production: true,
4+
production: '<CUSTOMPLAIN_PRDMODEFLAG>',
55
demo: false,
6-
appkey: 'b11e7c189b',
7-
pusherKey: 'c8f1e1cba0f717e24046',
8-
pusherCluster: 'ap1',
9-
env: 'test',
10-
APIEndpoint: 'https://admin.p2-stage.practera.com/',
11-
graphQL: 'https://core-graphql-api.p2-stage.practera.com',
12-
chatGraphQL: 'https://chat-api.p2-stage.practera.com',
13-
globalLoginUrl: 'https://app.login-stage.practera.com',
14-
badgeProjectUrl: 'https://badge.p2-stage.practera.com',
15-
stackUuid: '571c91b4-f0e1-498d-a5db-04f8d92d3693',
16-
intercomAppId: 'pef1lmo8',
6+
appkey: '<CUSTOM_APPKEY>',
7+
pusherKey: '<CUSTOM_PUSHERKEY>',
8+
pusherCluster: '<CUSTOM_PUSHER_CLUSTER>',
9+
env: '<CUSTOM_ENVIRONMENT>',
10+
APIEndpoint: '<CUSTOM_API_ENDPOINT>',
11+
graphQL: '<CUSTOM_GRAPH_QL>',
12+
chatGraphQL: '<CUSTOM_CHAT_GRAPH_QL>',
13+
globalLoginUrl: '<CUSTOM_GLOBAL_LOGIN_URL>',
14+
badgeProjectUrl: '<CUSTOM_BADGE_PROJECT_URL>',
15+
stackUuid: '<CUSTOM_STACK_UUID>',
16+
intercomAppId: '<CUSTOM_INTERCOM>',
1717
uppyConfig: {
18-
tusUrl: 'https://tusd.practera.com/uploads/',
18+
tusUrl: '<CUSTOM_UPLOAD_TUS_ENDPOINT>',
1919
uploadPreset: 'practera',
2020
restrictions: {
2121
minFileSize: 0, // No minimum size
22-
maxFileSize: 2147483648, // 2GB max size
22+
maxFileSize: <CUSTOM_UPLOAD_MAX_FILE_SIZE>, // 2GB max size
2323
minNumberOfFiles: 1, // At least one file
2424
maxNumberOfFiles: 1, // max one file for now
2525
maxTotalFileSize: undefined, // No limit on total size
2626
requiredMetaFields: [] // No required metadata fields
2727
}
2828
},
2929
filestack: {
30-
key: 'AO6F4C72uTPGRywaEijdLz',
30+
key: '<CUSTOM_FILESTACK_KEY>',
3131
s3Config: {
3232
location: 's3',
33-
container: 'files.p2-stage.practera.com',
33+
container: '<CUSTOM_S3_BUCKET>',
3434
containerChina: '<CUSTOM_S3_BUCKET_CHINA>',
35-
region: 'ap-southeast-2',
35+
region: '<CUSTOM_AWS_REGION>',
3636
regionChina: '<CUSTOM_AWS_REGION_CHINA>',
3737
paths: {
38-
any: '/appv3/test/any/',
39-
image: '/appv3/test/images/',
40-
video: '/appv3/test/videos/'
38+
any: '<CUSTOM_PATH_ANY>',
39+
image: '<CUSTOM_PATH_IMAGE>',
40+
video: '<CUSTOM_PATH_VIDEO>'
4141
},
4242
workflows: [
43-
'3c38ef53-a9d0-4aa4-9234-617d9f03c0de',
43+
'<CUSTOM_FILESTACK_VIRUS_DETECTION>',
4444
],
4545
},
46-
policy: 'eyJleHBpcnkiOjE3MzU2NTAwMDB9',
47-
signature: '30323e4c80bb68e30afef26b32aa4dae401b0581b8e8ba9da93f3a01701be267',
46+
policy: '<CUSTOM_FILESTACK_POLICY>',
47+
signature: '<CUSTOM_FILESTACK_SIGNATURE>',
4848
workflows: {
49-
virusDetection: '3c38ef53-a9d0-4aa4-9234-617d9f03c0de',
49+
virusDetection: '<CUSTOM_FILESTACK_VIRUS_DETECTION>',
5050
},
5151
},
5252
hubspot: {
53-
liveServerRegion: 'AU',
54-
supportFormPortalId: '3404872',
55-
supportFormId: '114bee73-67ac-4f23-8285-2b67e0e28df4'
53+
liveServerRegion: '<CUSTOM_LIVE_SERVER_REGION>',
54+
supportFormPortalId: '<CUSTOM_PORTAL_ID>',
55+
supportFormId: '<CUSTOM_FORM_ID>'
5656
},
57-
defaultCountryModel: 'AUS',
57+
defaultCountryModel: '<CUSTOM_COUNTRY>',
5858
intercom: false,
59-
newrelic: 'true',
59+
newrelic: '<CUSTOM_NEWRELIC>',
6060
goMobile: false,
61-
featureToggles: {
62-
assessmentPagination: true,
63-
},
6461
helpline: '<CUSTOM_HELPLINE>',
6562
};

0 commit comments

Comments
 (0)