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

How to remove crossorigin from html tags? #403

Open
5 of 7 tasks
nekorrrr opened this issue May 17, 2024 · 1 comment
Open
5 of 7 tasks

How to remove crossorigin from html tags? #403

nekorrrr opened this issue May 17, 2024 · 1 comment

Comments

@nekorrrr
Copy link

nekorrrr commented May 17, 2024

Describe the bug

If you don't remove this attribute, then packaged files placed in nginx will report crossorigin warnings for preloads
image
image

Reproduction

The vitesse project code reproduces this problem

System Info

A preload for 'http://localhost:8111/assets/app-B4D33eBo.css' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
localhost/:1  The resource http://localhost:8111/assets/app-B4D33eBo.css was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Contributions

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
@nekorrrr nekorrrr changed the title How to remove crossorigin from labels? How to remove crossorigin from html tags? May 19, 2024
@nekorrrr
Copy link
Author

@antfu
Can you let me know if you have a temporary solution?
Thanks

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

No branches or pull requests

1 participant