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

Remove explicitly disabling CORS. issue is fixed upstream #2623

Merged
merged 1 commit into from Sep 26, 2022

Conversation

Aiz0
Copy link
Contributor

@Aiz0 Aiz0 commented Sep 26, 2022


Remove explicitly disabling CORS. issue is fixed upstream

Pull Request Type
Please select what type of pull request this is:

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other - remove unneeded code

Related issue
no related issue

Description
On electron v9.0.4 CORS was not disabled by webSecurity: false

This was fixed in electron/electron#25463
This line should no longer be needed.

Testing (for code that is not small enough to be easily understandable)
I've tested Local API and Invidious API.
tested some videos/live streams and made sure comments, description, etc were loaded.

Desktop:

  • OS: Arch Linux
  • OS Version: 5.19.8-arch1-1
  • FreeTube version: 0.17

issue was fixed in electron/electron#25463

it will now be disabled when with webSecurity: false
@PrestonN PrestonN enabled auto-merge (squash) September 26, 2022 12:50
@efb4f5ff-1298-471a-8973-3d47447115dc efb4f5ff-1298-471a-8973-3d47447115dc added the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 26, 2022
@PrestonN PrestonN merged commit 148db55 into FreeTubeApp:development Sep 26, 2022
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 26, 2022
@Aiz0 Aiz0 deleted the remove-disable-cors-fix branch September 28, 2022 01:54
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

Successfully merging this pull request may close these issues.

None yet

5 participants