Removed unnecessary environments file

This commit is contained in:
Erik Tiekstra
2021-08-04 07:45:45 +02:00
parent 76fbab94b1
commit 7ab8320c63
4 changed files with 1 additions and 20 deletions

View File

@@ -90,14 +90,6 @@
"with": "apps/dafa-web/src/environments/environment.api.ts"
}
]
},
"open-shift": {
"fileReplacements": [
{
"replace": "apps/dafa-web/src/environments/environment.ts",
"with": "apps/dafa-web/src/environments/environment.open-shift.ts"
}
]
}
}
},

View File

@@ -1,10 +0,0 @@
export const environment = {
environment: 'api',
clientId: '5d08c2e4-763e-42f6-b858-24e4773bb83d',
loginUrl: 'https://ciam-test.arbetsformedlingen.se:8443/uas/oauth2/authorization?response_type=code&scope=openid',
production: false,
api: {
url: '/api',
headers: {},
},
};

View File

@@ -95,7 +95,7 @@ pipeline {
echo '### Building application... ###'
sh '''
npm run build:open-shift
npm run build:api
cp -r nginx/* ${NGINX_PATH}
'''

View File

@@ -14,7 +14,6 @@
"start:api": "ng serve dafa-web --configuration api",
"build": "ng build dafa-web",
"build:api": "ng build dafa-web --configuration api",
"build:open-shift": "ng build dafa-web --configuration open-shift",
"test": "ng test dafa-web",
"release": "bash ./tools/release.sh",
"release:dry": "bash ./tools/release.sh dry",