studio icon indicating copy to clipboard operation
studio copied to clipboard

Provide instruction if user does not add CORS

Open invisal opened this issue 1 year ago • 3 comments

I would also see if you can specifically detect if a user doesn't launch with the CORS support enabled, as that will also be a common mistake.

I think the HTTP server will return a distinct error in that case.

invisal avatar Mar 29 '24 13:03 invisal

CORS

Pretty sure it does.

otoolep avatar Mar 29 '24 13:03 otoolep

@otoolep

While, the console provides CORS error message, it is not possible for Javascript to catch that error. https://stackoverflow.com/a/19325710

Maybe when user fail to connect for some reason, we can provide list of can go wrong including the CORS instruction.

invisal avatar Apr 09 '24 00:04 invisal

OK, fair enough.

otoolep avatar Apr 10 '24 10:04 otoolep