I have server with doamin example.com. When user loads page on this server, it uses websocket client on javascrip to connect another websocket server. Another server uses CORS. So user can't connect to another server with websocket, becouse header Origin: example.com. But with Origin:localhost it can connect. Is it possible to set Origin: localhost when use javascript to connect with websocket?
Aucun commentaire:
Enregistrer un commentaire