Skip to content

safe-js not available on localhost unless using the polyfill #16

@happybeing

Description

@happybeing

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions