This repository was archived by the owner on Mar 4, 2025. It is now read-only.
File tree 2 files changed +16
-4
lines changed
2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import moment from 'moment'
28
28
if ( path . indexOf ( '?' ) > - 1 ) {
29
29
return path . replace ( '?' , '/?' )
30
30
}
31
- return path + '/'
31
+ $location . replace ( ) . path ( path + '/' )
32
32
} )
33
33
34
34
var states = {
Original file line number Diff line number Diff line change @@ -16,9 +16,14 @@ if (CI === 'master') {
16
16
process . env . NODE_ENV = 'development'
17
17
}
18
18
19
-
20
- process . env . CONNECTOR_URL = `https://accounts.${ process . env . DOMAIN } /connector.html`
21
- process . env . ACCOUNTS_APP_URL = `https://accounts.${ process . env . DOMAIN } /tc`
19
+ var accountsAppURL = null
20
+ if ( process . env . ACCOUNTS_APP_URL ) {
21
+ accountsAppURL = process . env . ACCOUNTS_APP_URL
22
+ }
23
+ var accountsConnectorURL = null
24
+ if ( process . env . ACCOUNTS_APP_CONNECTOR_URL ) {
25
+ accountsConnectorURL = process . env . ACCOUNTS_APP_CONNECTOR_URL
26
+ }
22
27
23
28
const config = require ( 'appirio-tech-webpack-config' ) ( {
24
29
dirname : __dirname ,
@@ -34,4 +39,11 @@ const config = require('appirio-tech-webpack-config')({
34
39
35
40
if ( CI ) config . output . publicPath = process . env . ASSET_PREFIX
36
41
42
+ if ( accountsAppURL ) {
43
+ process . env . ACCOUNTS_APP_URL = accountsAppURL
44
+ }
45
+ if ( accountsConnectorURL ) {
46
+ process . env . ACCOUNTS_APP_CONNECTOR_URL = accountsConnectorURL
47
+ }
48
+
37
49
module . exports = config
You can’t perform that action at this time.
0 commit comments