Angular2 showcase: index.html to src directory
authorgustavo <gu.martinm@gmail.com>
Sun, 21 Feb 2016 23:45:14 +0000 (00:45 +0100)
committergustavo <gu.martinm@gmail.com>
Sun, 21 Feb 2016 23:45:14 +0000 (00:45 +0100)
angular2/showcase/index.html [deleted file]
angular2/showcase/server.js
angular2/showcase/src/index.html [new file with mode: 0644]

diff --git a/angular2/showcase/index.html b/angular2/showcase/index.html
deleted file mode 100644 (file)
index 6a392eb..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<html>
-
-<head>
-    <title>Angular 2 Quickstart</title>
-    <script src="src/jspm_packages/system.js"></script>
-    <script src="src/config.js"></script>
-</head>
-
-<body>
-    Angular 2 Quickstart
-    <my-app></my-app>
-    <script>
-        System.import('./src/app');
-    </script>
-</body>
-
-</html>
index aab59d6..9bef4e9 100644 (file)
@@ -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 (file)
index 0000000..126843c
--- /dev/null
@@ -0,0 +1,17 @@
+<html>
+
+<head>
+    <title>Angular 2 Quickstart</title>
+    <script src="jspm_packages/system.js"></script>
+    <script src="config.js"></script>
+</head>
+
+<body>
+    Angular 2 Quickstart
+    <my-app></my-app>
+    <script>
+        System.import('app');
+    </script>
+</body>
+
+</html>