Skip to content

Commit 73866f0

Browse files
committed
Adding ENVARS
1 parent 0285167 commit 73866f0

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@
55
"homepage": "http://ionicframework.com/",
66
"private": true,
77
"scripts": {
8-
"start": "ionic-app-scripts serve",
8+
"start": "node server.js",
99
"clean": "ionic-app-scripts clean",
10-
"build": "ionic-app-scripts build",
11-
"lint": "ionic-app-scripts lint"
10+
"build:dev": "ionic-app-scripts build",
11+
"build": "ionic-app-scripts build --prod",
12+
"lint": "ionic-app-scripts lint",
13+
"ionic:build": "ionic-app-scripts build",
14+
"ionic:serve": "ionic-app-scripts serve --no-devapp --no-open --port 3000"
1215
},
1316
"dependencies": {
1417
"@angular/animations": "5.2.11",

src/environments/environments.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export const ENV = {
2+
mode: 'Production',
3+
url: 'https://ssf-reboot-backend.herokuapp.com/api/'
4+
}

0 commit comments

Comments
 (0)