The script is attached to a page:
<script src='/app/app.js?token={token}'></script>
It is served from server with some headers ('Authorization: Bearer ....' to be exact)
Can I access this header from the js in this file?
The script is attached to a page:
<script src='/app/app.js?token={token}'></script>
It is served from server with some headers ('Authorization: Bearer ....' to be exact)
Can I access this header from the js in this file?