From 0579ab5b84c4480b859b18144f00158495fe7eb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szekeres=20Ba=CC=81lint?= Date: Sun, 18 Nov 2018 09:56:32 +0100 Subject: [PATCH] php index setting fix fixes #28 --- public/assets/js/app.js | 4 +++- public/index.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/public/assets/js/app.js b/public/assets/js/app.js index cc78d2c..3154fd7 100644 --- a/public/assets/js/app.js +++ b/public/assets/js/app.js @@ -327,6 +327,9 @@ $scope.data.index = 'index.html'; $scope.data.fallback_html = true; break; + case 'backend': + $scope.data.index = 'index.php'; + break; case 'spa': $scope.data.index = 'index.html'; $scope.data.fallback_html = true; @@ -518,7 +521,6 @@ if (!$scope.data.php) { $scope.defaultData.index = 'index.html'; - $scope.data.index = 'index.html'; } else { $scope.defaultData.index = 'index.php'; } diff --git a/public/index.html b/public/index.html index a90a129..d091285 100644 --- a/public/index.html +++ b/public/index.html @@ -437,7 +437,7 @@
-
+
index