OpenCut-app / OpenCut-app/OpenCut
[BUG]
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 89.8k
- Forks
- 8.9k
- PR merge metrics
- No merged PRs in 30d
Description
So I reported an issue earlier that after clicking on header logo it's not redirecting to homepage. Later after testing with devtools on chrome, I found that some js scripts are throwing errors in web console like MIME type ('text/html') is not executable, and strict MIME type checking is enabled and 404 error on this resource link https://opencut.app/_vercel/insights/script.js. So after that I disabled the Javascript in my web browser and the Header logo was redirecting.
To Reproduce
Steps to reproduce the behavior:
Go to website.
Right click on the page and inspect. (You will see some error's notifications.)
And click on header icon. (It won't redirect)
Now disable Javascript on web browser.
Click on logo.(The redirection to homepage will work).
Expected behavior
Header logo to redirect to homepage.
Actual Behavior
Header logo did not redirected and website was throwing JavaScript errors in devtool console.
Screen Recordings
https://drive.google.com/file/d/1dQroRFmaNcnkI3uVXaWIWOrvdtusWOzR/view?usp=sharing
https://drive.google.com/file/d/1NduHwEltCKeM_6LYdS37lyqaSx2gJqJf/view?usp=sharing
Desktop (please complete the following information):
OS: Window 10
Browser: Chrome
Version 137.0.7151.120 (Official Build) (64-bit)
Additional context
The main issue is in JavaScript script rendering. Fixing it may automatically fix the header logo redirection problem.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the website's header-logo entry point and inspect the Chrome console and network request for /_vercel/insights/script.js. Done means the reported MIME-type and 404 errors no longer occur and clicking the header logo reaches the homepage with JavaScript enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100