Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not add localhost as custom Safe App anymore. #558

Closed
einaralex opened this issue Mar 13, 2024 · 2 comments
Closed

Can not add localhost as custom Safe App anymore. #558

einaralex opened this issue Mar 13, 2024 · 2 comments

Comments

@einaralex
Copy link

einaralex commented Mar 13, 2024

While testing out my Safe App, I used to be able to add localhost as a custom app. Now I get an error "The app doesn't support Safe App functionality."

I've recently changed browsers, so I re-visited Chrome and found that my localhost custom app is still cached there and still works there. But if I open up an incognito window and try to add it, I also get "The app doesn't support Safe App functionality."

Dev console says The FetchEvent for "http://localhost:3000/manifest.json" resulted in a network error response: the promise was resolved with an error response object., but it's there if I visit the url and it's the same manifest.json we use for our production app.

@einaralex einaralex changed the title Can not add localhost as custom app anymore. Can not add localhost as custom Safe App anymore. Mar 13, 2024
@dasanra
Copy link
Collaborator

dasanra commented Mar 14, 2024

Could you confirm that you configured CORS correctly for the app? For me it's possible to access an app via localhost
https://github.com/safe-global/safe-apps-sdk/tree/main/packages/safe-apps-sdk#cors

@einaralex
Copy link
Author

Thank you, I'll look into it, I suspect it might just be settings in Brave also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants