From e27417dc46ef0bca8dd77d034fbbd6c5504135d5 Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 23 Aug 2019 22:16:27 +0900 Subject: [PATCH] Get rid of .htaccess now that we're using nginx --- frontend/angular.json | 5 ++--- frontend/src/.htaccess | 7 ------- 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 frontend/src/.htaccess diff --git a/frontend/angular.json b/frontend/angular.json index fe9ec09b0..8742ea254 100644 --- a/frontend/angular.json +++ b/frontend/angular.json @@ -24,8 +24,7 @@ "tsConfig": "src/tsconfig.app.json", "assets": [ "src/favicon.ico", - "src/assets", - "src/.htaccess" + "src/assets" ], "styles": [ "src/styles.scss" @@ -124,4 +123,4 @@ } }, "defaultProject": "mempool" -} \ No newline at end of file +} diff --git a/frontend/src/.htaccess b/frontend/src/.htaccess deleted file mode 100644 index 2513ec66c..000000000 --- a/frontend/src/.htaccess +++ /dev/null @@ -1,7 +0,0 @@ -RewriteEngine on -RewriteCond %{REQUEST_FILENAME} -s [OR] -RewriteCond %{REQUEST_FILENAME} -l [OR] -RewriteCond %{REQUEST_FILENAME} -d -RewriteRule ^.*$ - [NC,L] - -RewriteRule ^(.*) /index.html [NC,L] \ No newline at end of file