forked from beakerbrowser/beaker
-
Notifications
You must be signed in to change notification settings - Fork 7
safe-js not available on localhost unless using the polyfill #16
Copy link
Copy link
Open
Description
Operation System: Linux
Beaker Version: 0.4.0 (also 0.3.6-2)
I've been using the polyfill exclusively so have only just tried without and find that safe-js is not working on localhost unless you use the polyfill.
Fine on a live safe: URL though.
With localhost, not polyfill and websecurity disabled, a new tab loaded with my safe site and I poke around in the debug console I can only get this object and method:
window.safeAuth.getAuthToken()
No other safeAuth methods, no safeNFS or safeDNS objects! But with the polyfill they are all there and working.
It is not a problem as I can just use the polyfill until I deploy, but I think it is supposed to work without it as well, even on localhost.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels