File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 13
13
"build" : {
14
14
"builder" : " @angular-devkit/build-angular:browser" ,
15
15
"options" : {
16
+ "deployUrl" : " <%=deployUrl%>" ,
17
+ "baseHref" : " <%=baseHref%>" ,
16
18
"outputPath" : " dist/ng-immutable-example" ,
17
- "index" : " src/index.html " ,
19
+ "index" : " src/index.ejs " ,
18
20
"main" : " src/main.ts" ,
19
21
"polyfills" : " src/polyfills.ts" ,
20
22
"tsConfig" : " src/tsconfig.app.json" ,
Original file line number Diff line number Diff line change 1
- export const environment = {
2
- production : true
3
- } ;
1
+ export const environment = ( window as any ) . env ;
Original file line number Diff line number Diff line change 2
2
<html lang =" en" >
3
3
<head >
4
4
<meta charset =" utf-8" >
5
- < title > NgImmutableExample </ title >
5
+ <title >NgImmutable </title >
6
6
<base href =" /" >
7
7
8
8
<meta name =" viewport" content =" width=device-width, initial-scale=1" >
9
- < link rel ="icon " type ="image/x-icon " href ="favicon.ico ">
9
+ <link rel =" icon" type =" image/x-icon" href =" <%=deployUrl%>favicon.ico" >
10
+ <script >
11
+ env = < %- JSON .stringify (env)% > ;
12
+ </script >
10
13
</head >
11
14
<body >
12
15
<app-root ></app-root >
You can’t perform that action at this time.
0 commit comments