From: gustavo Date: Sun, 21 Feb 2016 23:45:14 +0000 (+0100) Subject: Angular2 showcase: index.html to src directory X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=d9e73445bb4be6eaec3229bdde8271816a864426;p=JavaScriptForFun Angular2 showcase: index.html to src directory --- diff --git a/angular2/showcase/index.html b/angular2/showcase/index.html deleted file mode 100644 index 6a392eb..0000000 --- a/angular2/showcase/index.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - Angular 2 Quickstart - - - - - - Angular 2 Quickstart - - - - - diff --git a/angular2/showcase/server.js b/angular2/showcase/server.js index aab59d6..9bef4e9 100644 --- a/angular2/showcase/server.js +++ b/angular2/showcase/server.js @@ -15,7 +15,7 @@ switch (environment) { default: console.log('development mode'); - app.use(express.static(currentDir + '/')); + app.use(express.static(currentDir + '/src/')); // Deep linking (exclude XHR requests) app.use('/((?!api)).*', express.static(currentDir + '/src/index.html')); diff --git a/angular2/showcase/src/index.html b/angular2/showcase/src/index.html new file mode 100644 index 0000000..126843c --- /dev/null +++ b/angular2/showcase/src/index.html @@ -0,0 +1,17 @@ + + + + Angular 2 Quickstart + + + + + + Angular 2 Quickstart + + + + +