Skip to content

No ability to do CORS #1405

Description

@danielhstahl

Background

I'm trying to enable a website (that I've built, ergo trusted) to access my lightning node from a separate domain. However, I have cross domain issues. As far as I can tell there are no options to enable CORS in lnd.

I've tried to edit the code to allow CORS in much the same way as tlsextraip is added in the config but I receive "unknown option cors" from the log. Using https://github.com/lightningnetwork/lnd/pull/634/files as a reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions