Code: Select all
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
RewriteBase /
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
< /code>
Jetzt startet die Anwendung (Laravel), aber React -Komponenten werden nicht gerendert, sondern nur den Inhalt meiner "app.blade.php".APP_ENV=production
APP_KEY=base64:P2SZPbdUjDIhNOlt59QEKmKwHm25F0RQFec5RrF/O0Q=
APP_DEBUG=false
APP_URL=https://solstag.io
ASSET_URL=https://solstag.io/public