Hosting Filament apache server responded with a MIME type of ""
I been trying deploy my filament to my apache server using vhost but unfortunetly i got 2 main major error that i do not get when development using php artisan serve
"Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec."
and
"Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: http://panelinfakin.ictitlmi.info:81/js/filament/forms/components/select.js?v=3.0.0.0"
yes i have been tried the guidelines before and got no luck so far
and this is my vhost apache config
<VirtualHost *:81>
DocumentRoot "C:/xampp/htdocs/Infakinbackend/public"
ServerName panelinfakin.ictitlmi.info
<Directory "C:/xampp/htdocs/Infakinbackend/public">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
allow from all
Require all granted
</Directory>
</VirtualHost>
thank you so much in advance
0 Replies