0👍
Try adding the mime type for .mjs
files in the Plesk control panel (based on their docs):
If this is a Linux server
-
Log in to Plesk.
-
Go to Domains >
YOUR DOMAIN NAME
> Apache & nginx Settings. -
Next to MIME types, select the Enter custom value option button.
-
Add a line that says:
text/javascript .mjs
. -
Save your changes.
If this is a Windows server
-
Log in to Plesk.
-
Go to Domains >
YOUR DOMAIN NAME
> Hosting Settings > IIS Settings. -
Go to the MIME Types section.
-
Add a line that says:
text/javascript .mjs
. -
Save your changes.
Source:stackexchange.com