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't search certain did:web profiles #5

Closed
luizzeroxis opened this issue Nov 27, 2024 · 3 comments
Closed

Can't search certain did:web profiles #5

luizzeroxis opened this issue Nov 27, 2024 · 3 comments

Comments

@luizzeroxis
Copy link

Hi, I tried looking up Lamp's profile (https://bsky.app/profile/lamp.wtf), but it says "Failed to construct 'URL': Invalid URL". I think it's because the .well-known/did.json file in their domain doesn't have the proper CORS headers, so you can't access it from PDSls. Not sure what the solution could be.

@luizzeroxis luizzeroxis changed the title Can't search certain did:web profile Can't search certain did:web profiles Nov 27, 2024
@notjuliet
Copy link
Owner

they have to set this themselves
Access-Control-Allow-Origin:*

@luizzeroxis
Copy link
Author

Is there nothing that can be done on the tool itself?

@notjuliet
Copy link
Owner

notjuliet commented Nov 27, 2024

what's the problem with asking them to fix it if they want their profile to work on PDSls?
yes i could use a CORS proxy ig, but i won't go through such troubles because it's an easy fix on the PDS instance itself

Edit: this app doesnt do server side rendering so it makes this trickier in this regard too
Edit 2: contacted lamp, it's fixed https://pdsls.dev/at/did:web:lamp.wtf

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