Skip to content

NEMAR: approve app.nemar.org as an origin #751

Closed

Description

@neuromechanist

A signed-in reader on nemar.org is on app.nemar.org (the website's app host: dashboard, settings, upload and the other signed-in pages), and the widget there is refused: NEMAR's cors_origins lists only nemar.org, www.nemar.org and test.nemar.org. The Cloudflare worker already admits any *.nemar.org origin; the backend does not.

  • Add https://app.nemar.org to src/assistants/nemar/config.yaml cors_origins. This authorizes chat and the overview from that origin, adds it to the CORS allow list, and to the notebook site's frame-ancestors (built from cors_origins), so the Notebook tab can frame there too.
  • Tests: authorized for nemar only; in the notebook site's embed origins.

Staging runs single-host, so there is no staging app host to add.

Activity

  1. added
    enhancement
    widget
    on Nov 13, 2026
  2. github-actions commented on Nov 13, 2026

    @github-actions
    Contributor

    Done in #752, merged into develop. It reaches production with the next release to main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementwidget

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions