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

403 error in Electron app #33

Open
vedmant opened this issue Dec 24, 2023 · 1 comment
Open

403 error in Electron app #33

vedmant opened this issue Dec 24, 2023 · 1 comment

Comments

@vedmant
Copy link

vedmant commented Dec 24, 2023

I'm using this package on my electron app with disabled web security to prevent cors error. But having 403 error, I see that google-translate-token is mentioned, but is not used. Any thoughts about this? Thanks!

@cjvnjde
Copy link
Owner

cjvnjde commented Dec 27, 2023

How do you use the library?
As far as I understand, you use the web version. If you use it through the CORS server, you must authorize yourself. See the web example - you should open the link http://cors-anywhere.herokuapp.com/corsdemo and click on the button:
Screenshot 2023-12-27 at 15 36 35
otherwise, you would get a 403 error

However, for the Electron app it should be possible to use node version of the app (probably)

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

2 participants