huashengdun / webssh

:seedling: Web based ssh client
https://webssh.huashengdun.org/
MIT License
4.54k stars 1.3k forks source link

Meet "Cross origin operation is not allowed" On codesandbox.io #361

Open crazypeace opened 1 year ago

crazypeace commented 1 year ago

https://codesandbox.io/

I created a Python sandbox image

Then I followed the quick start on repo's readme. https://github.com/huashengdun/webssh#quickstart

pip install webssh
wssh

A webview displayed. image

I use a new browser to open that url. When I connect, I meet the error "Cross origin operation is not allowed" image

xiaoquisme commented 2 months ago

I fix it by run cmd: python main.py --origin=* --debug