Fix htaccess for NPM
All checks were successful
Deploy (stellaamor) / deploy (push) Successful in 2s

This commit is contained in:
edsea
2025-10-08 16:10:37 +02:00
parent 9217a71d5a
commit 1b4adde2bb
2 changed files with 47 additions and 2 deletions

View File

@@ -2,8 +2,6 @@
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Add trailing slash to URLs (except files and directories)
RewriteCond %{REQUEST_FILENAME} !-f