Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contacts-index.css blocked due to MIME type (“text/html”) mismatch #4148

Open
melroy89 opened this issue Sep 16, 2024 · 0 comments
Open
Labels

Comments

@melroy89
Copy link
Contributor

melroy89 commented Sep 16, 2024

Describe the bug

Incorrect, missing contacts-index.css file when on the files tab when using Nextcloud 30.

The resource from “https://cloud.melroy.org/apps/contacts/css/contacts-index.css?v=1b4503c0-5” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff). files

When I visit t his css file, I got redirect to: https://cloud.melroy.org/apps/contacts/All%20contacts/4af1a2e9-c232-4fd9-8c12-62ff515bed78~default. And it shows me:

Error: page.tabs[tab.id] is undefined undefined

Followed by: group css not found

As well as:

Error: Debounced method called with different contexts.
    d https://cloud.melroy.org/apps/contacts/js/index-BYtwKcsR.chunk.mjs:2
    mounted https://cloud.melroy.org/apps/contacts/js/contacts-main.mjs?v=305544fb-5:3
    qt https://cloud.melroy.org/apps/contacts/js/index-b2_Rf36J.chunk.mjs:2
    It https://cloud.melroy.org/apps/contacts/js/index-b2_Rf36J.chunk.mjs:2
    insert https://cloud.melroy.org/apps/contacts/js/index-b2_Rf36J.chunk.mjs:2
    bt https://cloud.melroy.org/apps/contacts/js/index-b2_Rf36J.chunk.mjs:2
    _l https://cloud.melroy.org/apps/contacts/js/index-b2_Rf36J.chunk.mjs:2
    _update https://cloud.melroy.org/apps/contacts/js/index-b2_Rf36J.chunk.mjs:2
    r https://cloud.melroy.org/apps/contacts/js/index-b2_Rf36J.chunk.mjs:2
    get https://cloud.melroy.org/apps/contacts/js/index-b2_Rf36J.chunk.mjs:2
    run https://cloud.melroy.org/apps/contacts/js/index-b2_Rf36J.chunk.mjs:2
    tf https://cloud.melroy.org/apps/contacts/js/index-b2_Rf36J.chunk.mjs:2
    Kn https://cloud.melroy.org/apps/contacts/js/index-b2_Rf36J.chunk.mjs:2
    hn https://cloud.melroy.org/apps/contacts/js/index-b2_Rf36J.chunk.mjs:2
index-b2_Rf36J.chunk.mjs:2:26700

Steps to reproduce

  1. Go to "Files" tab in Nextcloud v30 (Hub 9)
  2. Look at the console output
  3. See error:
The resource from “https://cloud.melroy.org/apps/contacts/css/contacts-index.css?v=1b4503c0-5” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff). files

Expected behavior

No errors in the log.

Actual behavior

Error above.

Contact version

6.1.0

Operating system

Ubuntu Server

PHP engine version

8.3

Web server

Nginx

Database

MariaDB

Additional info

image

0 bytes? Response is indeed empty.

image

But even more JS issues as well..
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant