Merge pull request #11471 from nextcloud/fix/mjs-upgrade

fix(admin): Add a note about JavaScript modules to Nextcloud 28 upgrade guides
This commit is contained in:
Daniel
2024-06-18 18:06:57 +02:00
committed by GitHub

View File

@@ -12,6 +12,9 @@ Web server configuration
------------------------
* The recommended :ref:`nginx configuration<nginx-config>` changed as Nextcloud Talk now serves audio files with ``.ogg`` / ``.flac`` extension, make sure to add these extensions to the list of static files.
* As some core app now make use of JavaScript modules, make sure your web server is serving ``.mjs`` files with JavaScript MIME type.
When using Apache with ``.htaccess`` configuration this will be done automatically, if your Apache is not configured to use the ``.htaccess`` files make sure ``.mjs`` is added as a file extension for JavaScript in ``conf/mime.types``.
For NGinx please refer to the our recommended :ref:`nginx configuration<nginx-config>`.
Monitoring
----------