File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ module.exports = function (grunt) {
2424 development : 'http://0.0.0.0:3000/api/' ,
2525 production : '/api/'
2626 } ,
27+ site : {
28+ development : 'http://0.0.0.0:3000' ,
29+ production : ''
30+ } ,
2731 host : '0.0.0.0'
2832 } ;
2933
@@ -118,7 +122,8 @@ module.exports = function (grunt) {
118122 constants : {
119123 ENV : {
120124 name : 'development' ,
121- apiUrl : '<%= yeoman.api.development %>'
125+ apiUrl : '<%= yeoman.api.development %>' ,
126+ siteUrl : '<%= yeoman.site.development %>'
122127 }
123128 }
124129 } ,
@@ -129,7 +134,8 @@ module.exports = function (grunt) {
129134 constants : {
130135 ENV : {
131136 name : 'production' ,
132- apiUrl : '<%= yeoman.api.production %>'
137+ apiUrl : '<%= yeoman.api.production %>' ,
138+ siteUrl : '<%= yeoman.site.production %>'
133139 }
134140 }
135141 }
You can’t perform that action at this time.
0 commit comments