Skip to content

Investigate stale @nostrstack/react localhost:3002 port remap in built package #413

@joelklabo

Description

@joelklabo

Social's resolveGalleryApiBase in the app needed a local override to avoid localhost:3002 being rewritten to localhost:3001 when resolved through @nostrstack/react exports in this environment.

This is likely indicating a package runtime/source drift for resolveApiBase handling. We should:

  • confirm packages/react/src/api-base.ts and the distribution package used at runtime stay in sync
  • remove any legacy localhost:3002→3001 conversion in @nostrstack/react shared resolution path
  • add coverage in both package and app where practical to prevent regression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions