0

I have a Laravel project where I also run APIs for an APP.

After adding rewrite rules in .htaccess file my APIs of an APP stopped working.

#Redirect to HTTPS
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
dbf
  • 3,278
  • 1
  • 24
  • 34

0 Answers0