Skip to content

Add CORS so API can be queried programmatically #4

Description

@GarrisonBates

Describe the bug

Get CORS error when querying API. Please enable CORS for all domains for Raptoreum explorer. Thanks!
Environment (please complete the following information):

  • Bitcoin Core / Node Version [e.g. 0.16.3]
  • NodeJS Version [e.g. 9.x]
  • Browser [e.g. chrome, safari]
  • Code Version / Commit [e.g. ab6cde8]

Configuration file content

Please include the content from the following files. BE SURE TO MODIFY YOUR CREDENTIALS BEFORE SUBMITTING!!!

  • bitcoin.conf
  • Your btc-rpc-explorer environment configuration (either $WORKING_DIR/.env or ~/.config/btc-rpc-explorer.env)

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots or Log Output

If applicable, add screenshots or log output to help explain your problem.

Additional context

Add any other context about the problem here.

Activity

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions