You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I would like to import a project over the cospand config site, I get a browser error message. The problem is a MIME type conflict, but I can´t find any working solution or behavior in the Nextcloud Project or Forum with my Docker setup.
Reproduce:
open cospand app
open the setting dialog
push the CSV-Project Import Button
Error description:
When the import start cospand load a script from sever: https://example.nextcloud.de/apps/cospend/js/cospend-node_modules_nextcloud_dialogs_dist_chunks_index-D5FJasts_mjs.js?v=8b813e5937312ca1222xxx , Status: 404
Browser exception: Blocked due to a MIME type conflict ('text/html') (X-Content-Type-Options: nosniff).
Uncaught (in promise) ChunkLoadError: Loading chunk node_modules_nextcloud_dialogs_dist_chunks_index-D5FJasts_mjs failed.
(error: https://example.nextcloud.de/apps/cospend/js/cospend-node_modules_nextcloud_dialogs_dist_chunks_index-D5FJasts_mjs.js?v=8b813e5937312ca18f2a)
j jsonp chunk loading:28
e ensure chunk:6
e ensure chunk:5
pick index.mjs:69
ue utils.js:20
onImportClick CospendSettingsDialog.vue:294
VueJS 4
click NcButton.mjs:231
Thanks for reporting this.
For some reason the dialogs lib (used to open the file picker) loads some javascript dynamically so there is some webpack-specific variables to define.
This is now fixed and will be included in the next release.
It seems like there is no public version yet, tough. The steps in the readme don't find any newer version than 3.0.8. Is there any other way to install this fix at the moment?
When I would like to import a project over the cospand config site, I get a browser error message. The problem is a MIME type conflict, but I can´t find any working solution or behavior in the Nextcloud Project or Forum with my Docker setup.
Reproduce:
Error description:
When the import start cospand load a script from sever:
https://example.nextcloud.de/apps/cospend/js/cospend-node_modules_nextcloud_dialogs_dist_chunks_index-D5FJasts_mjs.js?v=8b813e5937312ca1222xxx
, Status: 404Browser exception:
Blocked due to a MIME type conflict ('text/html') (X-Content-Type-Options: nosniff).
Enviroment 1
Enviroment 2
Actual behavior:
Setup the types not works !!!Not works!!! https://nginx.org/en/docs/http/ngx_http_core_module.html#types
Im open for any further nginx setup Ideas.
The text was updated successfully, but these errors were encountered: