Skip to content

How to set CORS whitelist #756

@jjim1982

Description

@jjim1982

I have checked .env-sample and there doesn't seem to be any parameter for whitelisting machines for CORS. I'm trying to access the API on my local network from my astro dev server via a fetch call, but btc-explorer keeps responding with Error HTTP 401: Unauthorized. Sorry I'm a noob, I'm not sure how to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions