DirectoryIndex index.html
RewriteEngine On

# Forward absolutely everything (API, pages, routes) to the Express app on port 8080
RewriteCond %{EXTERNAL_REDIRECT} !^.+
RewriteRule ^(.*)$ http://127.0.0.1:8080/$1 [P,L]

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php84” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php84 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
