diff --git a/.htaccess b/.htaccess deleted file mode 100644 index a192448..0000000 --- a/.htaccess +++ /dev/null @@ -1,7 +0,0 @@ -RewriteEngine On - # If an existing asset or directory is requested go to it as it is - RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR] - RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d - RewriteRule ^ - [L] - # If the requested resource doesn't exist, use index.html -RewriteRule ^ /index.html diff --git a/Jenkinsfile b/Jenkinsfile index c1a534b..a1c1ec3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -50,5 +50,6 @@ node { sh 'rm -rf /var/www/html/' + env.BRANCH_NAME sh 'mkdir /var/www/html/' + env.BRANCH_NAME sh 'cp -r dist/. /var/www/html/' + env.BRANCH_NAME + '/' + sh 'cp /var/www/html/.htaccess-template /var/www/html/' + env.BRANCH_NAME + '/.htaccess' } }