File tree Expand file tree Collapse file tree 3 files changed +6
-35
lines changed
Expand file tree Collapse file tree 3 files changed +6
-35
lines changed Original file line number Diff line number Diff line change 1- /* {
1+ {
22 "version" : " 0.2.0" ,
33 "configurations" : [
44 {
55 "name" : " Launch Chrome against localhost, with sourcemaps" ,
66 "type" : " chrome" ,
77 "request" : " launch" ,
8- "url" : " http://ng2-admin.stackriot.com /*" ,
8+ "url" : " http://0.0.0.0:5000 /*" ,
99 "runtimeArgs" : [
1010 " --disable-web-security" ,
1111 " --user-data-dir" ,
1818 "name" : " Attach to Chrome, with sourcemaps" ,
1919 "type" : " chrome" ,
2020 "request" : " attach" ,
21- "url" : " http://ng2-admin.stackriot.com/ " ,
21+ "url" : " http://0.0.0.0:5000/* " ,
2222 "port" : 9222 ,
2323 "sourceMaps" : true ,
2424 "webRoot" : " ${workspaceRoot}"
2525 }
2626 ]
27- }*/
28-
29-
30- {
31- "sudo" : false ,
32- "language" : " node_js" ,
33- "node_js" : " 6" ,
34- "addons" : {
35- "apt" : {
36- "sources" : [
37- " ubuntu-toolchain-r-test"
38- ],
39- "packages" : [
40- " g++-4.8"
41- ]
42- }
43- },
44- "install" : [
45- " npm config set spin false" ,
46- " npm install -g npm@latest" ,
47- " npm install"
48- ],
49- "script" : [
50- " npm run build:prod" ,
51- " npm run build:aot"
52- ],
53- "group" : " stable" ,
54- "dist" : " precise" ,
55- "os" : " linux"
5627}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin');
1616 * Webpack Constants
1717 */
1818const ENV = process . env . ENV = process . env . NODE_ENV = 'development' ;
19- const HOST = process . env . HOST || 'ng2-admin.stackriot.com ' ;
19+ const HOST = process . env . HOST || '0.0.0.0 ' ;
2020const PORT = process . env . PORT || 5000 ;
2121const HMR = helpers . hasProcessFlag ( 'hot' ) ;
2222const METADATA = webpackMerge ( commonConfig ( { env : ENV } ) . metadata , {
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ const OptimizeJsPlugin = require('optimize-js-plugin');
1818 * Webpack Constants
1919 */
2020const ENV = process . env . NODE_ENV = process . env . ENV = 'production' ;
21- const HOST = process . env . HOST || 'ng2-admin.stackriot.com ' ;
22- const PORT = process . env . PORT || 8080 ;
21+ const HOST = process . env . HOST || '0.0.0.0 ' ;
22+ const PORT = process . env . PORT || 5000 ;
2323const METADATA = webpackMerge ( commonConfig ( { env : ENV } ) . metadata , {
2424 host : HOST ,
2525 port : PORT ,
You can’t perform that action at this time.
0 commit comments