From d9e73445bb4be6eaec3229bdde8271816a864426 Mon Sep 17 00:00:00 2001 From: gustavo Date: Mon, 22 Feb 2016 00:45:14 +0100 Subject: [PATCH] Angular2 showcase: index.html to src directory --- angular2/showcase/index.html | 17 ----------------- angular2/showcase/server.js | 2 +- angular2/showcase/src/index.html | 17 +++++++++++++++++ 3 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 angular2/showcase/index.html create mode 100644 angular2/showcase/src/index.html 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 + + + + + -- 2.1.4