node.js - Origin header in Chrome Extension -


i have api running on node js, security reasons, have set middle ware function check origin header, if website, api should go ahead. finding issues chrome extension, not pass origin header in requests, in put requests, sends chrome:// origin header. can help?

regards, manik mittal

well, that's how chrome sets origin extensions. it's not simple override.

it is, however, possible override. you'll need use webrequest api, blocking response onbeforesendheaders, rewrite origin whatever like.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -