Phu1237 / vscode-vs-browser

Built-in browser for Visual Studio Code
MIT License
37 stars 3 forks source link

XXX has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. #4

Closed zeromovie closed 11 months ago

zeromovie commented 1 year ago

How to solve this problem? chrome desktop is ok, but this plugin not

Phu1237 commented 1 year ago

You can use Proxy mode to solve this problem if the web you want to access isn't localhost. P/s: I'm working on a local proxy server, but it isn't working correctly. You can try it first and wait for a completely working local proxy server to work with your local web. This will take time because I have no experience working with nodejs proxy server.

ccokee commented 1 year ago

I would love this to rise up again as for 4k monitored web developers would avail one monitor setups.

Phu1237 commented 1 year ago

@ccokee Sorry for the late response. Due to a lack of knowledge in making nodejs proxy server. It is not fully working yet. I will try my best. Thanks!

Phu1237 commented 11 months ago

@ccokee @zeromovie Please try the newest version. You can go to the localhost website even if the proxy mode is enabled now So you can try using local proxy server with proxy mode (both enabled) now

zeromovie commented 11 months ago

Phu1237 @.***>于2023年7月29日 周六20:26写道:

@ccokee https://github.com/ccokee @zeromovie https://github.com/zeromovie Please try the newest version. You can go to the localhost website even if the proxy mode is enabled now So you can try using local proxy server with proxy mode (both enabled) now

— Reply to this email directly, view it on GitHub https://github.com/Phu1237/vscode-vs-browser/issues/4#issuecomment-1656719315, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEY5FVT7XK3DEVUSBUBB5JLXST6QJANCNFSM53GYCRPA . You are receiving this because you were mentioned.Message ID: @.***>

thanks!

Phu1237 commented 11 months ago

@zeromovie If you have any questions or any suggestions, please create an issue so I can know it. Thank you for using my extension! 🎉