Skip to content

CORS error on search when running cardtable locally #124

@papaschloss

Description

@papaschloss

I've been trying to run this locally but hit a snag with the deck searching. My local version is hitting your scraper (url below) and getting a CORS error -- which is fine. I'm happy to run my own proxy, but the URL to it is hard coded. Can you make it a little easier to override this? An env variable override would work great. Thanks!

CORS blocked URL: https://cardtable-scrape-decks.middle-earth.house/?uri=https%3A%2F%2Fmarvelcdb.com%2Fdecklists%3Fname%3Dshe%26sort%3Dlikes

that domain is referenced in src/constants/api-constants.ts

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