Skip to content

Feat/appview routing - #36

Open
Ashex wants to merge 2 commits into
mainfrom
feat/appview-routing
Open

Feat/appview routing#36
Ashex wants to merge 2 commits into
mainfrom
feat/appview-routing

Conversation

@Ashex

@Ashex Ashex commented Apr 19, 2026

Copy link
Copy Markdown

Rather then setting a default appview, we're going to take it a little further by introduce a routing function:

  APPVIEW_ROUTES: [
    {
      pdsHosts: ['blacksky.community', 'northsky.social'],
      BSKY_SERVICE: 'https://api.blacksky.community',
      BSKY_SERVICE_DID: 'did:web:api.blacksky.community',
    },
  ],

What this does, it matched by the PDS/entryway set during login and sets the Appview for the session. This allows us to enforce which appview a user goes to so we don't end up overloading an appview when everyone decides to use the social app and helps maintain a cohesive experience for communities built around a pds/appview.

If a person signs in with a PDS that doesn't match then it will go to the configured fallback.

@Ashex Ashex self-assigned this Apr 19, 2026
@github-actions

Copy link
Copy Markdown
Old size New size Diff
7.92 MB 7.92 MB 1.2 KB (0.01%)

@Ashex Ashex mentioned this pull request Apr 19, 2026
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

Successfully merging this pull request may close these issues.

2 participants