Skip to content

Commit

Permalink
Rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
tvlooy committed Sep 9, 2024
1 parent 2ef6399 commit 45568b1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ cp ../../shared/recaptcha_secrets.json config
printOk

printAction "Composer install"
../../shared/composer.phar install --no-dev --classmap-authoritative ${Q} 2>&1 | grep -v 'PHP Deprecated'
../../shared/composer.phar dump-env prod ${Q} 2>&1 | grep -v 'PHP Deprecated'
../../shared/composer.phar install --no-dev --classmap-authoritative ${Q} 2>&1
../../shared/composer.phar dump-env prod ${Q} 2>&1
rm .env
printOk

Expand Down
5 changes: 5 additions & 0 deletions public/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]

0 comments on commit 45568b1

Please sign in to comment.