GithubHelp home page GithubHelp logo

Comments (4)

amostajo avatar amostajo commented on August 15, 2024 1

This is because the service is not meant to run outside fast.com, the library is a little hack coded to use their API without authorization, this most likely will not be fixable from the client-side.

from fast-speedtest-api.

amerikan avatar amerikan commented on August 15, 2024

Having a similar problem. For me it works fine when calling locally from my localhost, however, when it gets called from a https server that's when I get a CORS error.

from fast-speedtest-api.

amerikan avatar amerikan commented on August 15, 2024

@amostajo you're absolutely right. I learned that the hard way.

To future people running into this issue, read this:
Anyone who's trying to use it on their website, this will not work in your typical setup. It only works on port 8000 (which is typically localhost and not your conventional port 80). Any other port you'll run into CORS issue. So yes, as @amostajo mentions don't rely on to serve actual websites or webapps.

from fast-speedtest-api.

mark-lumbao avatar mark-lumbao commented on August 15, 2024

Oh okay understood. Seems like there's nothing more to discuss. Thanks, everyone.

from fast-speedtest-api.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.