• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Hosting a local proxy to deal w/ CORS

Scheduled Pinned Locked Moved Troubleshooting
2 Posts 1 Posters 1.1k Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    trasnportGuy
    last edited by Jun 19, 2017, 1:34 PM

    Has anyone dealt w/ trying to get data from an API that has CORS disabled? I expect that you can deal w/ it simply by running a proxy w/in the webserver. Maybe using something like this? https://www.npmjs.com/package/cors-anywhere

    Curious if this is a problem that’s already been solved though.

    1 Reply Last reply Reply Quote 0
    • T Offline
      trasnportGuy
      last edited by Jun 20, 2017, 2:42 AM

      Nevermind. I get it now. Node helper is the way around this problem. I’m all set.

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        1/2
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy