You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The melvin account has WebID https://melvin.solid.social/#me (pathname /), while the profile card lives at data/melvin/profile/card.jsonld.
In profilePathCandidates(), the URL pathname / yields an empty pathnameRel, so:
Path-mode candidate: resolves to <dataRoot> itself → directory, not a file
Subdomain candidate: resolves to <dataRoot>/melvin → also a directory
The function never probes the conventional profile location at profile/card.jsonld.
Other accounts with WebID https://xxx.solid.social/profile/card.jsonld#me work correctly because the pathname resolves to the actual file.
Possible fixes
Fix the WebID at the source — when this account was created (possibly before the current registration flow), the WebID was set to /#me instead of /profile/card.jsonld#me. Could be fixed by updating the account record in _webid_index.json.
Fallback in profilePathCandidates — when the pathname is / (root), additionally probe conventional profile locations: profile/card.jsonld, profile/card, profile/card.ttl.
Migration script — scan accounts for root-path WebIDs and update them to the canonical form.
Activity
fix(well-known-did-nostr): probe profile/card.jsonld for root-path We…
bump version to 0.0.206