.htaccess

This commit is contained in:
Alexandre Bourlier 2018-05-02 09:04:10 +02:00
parent f0ea5e3de3
commit 943f623444
2 changed files with 10 additions and 1 deletions

8
.htaccess Normal file
View File

@ -0,0 +1,8 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</IfModule>

View File

@ -4,6 +4,7 @@ export SDN="http://hd-ldp.happy-dev.fr"
php index.php > index.html
grunt
ssh happy-dev_alex@ssh-happy-dev.alwaysdata.net "cd hd-app; rm -Rf ./*; mkdir -p src/fonts; mkdir -p dist/css;"
scp -r index.html happy-dev_alex@ssh-happy-dev.alwaysdata.net:~/hd-app/
scp index.html happy-dev_alex@ssh-happy-dev.alwaysdata.net:~/hd-app/
scp .htaccess happy-dev_alex@ssh-happy-dev.alwaysdata.net:~/hd-app/
scp -r dist/css/ happy-dev_alex@ssh-happy-dev.alwaysdata.net:~/hd-app/dist/
scp -r src/fonts/ happy-dev_alex@ssh-happy-dev.alwaysdata.net:~/hd-app/src/