Comments (4)
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.
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.
@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.
Oh okay understood. Seems like there's nothing more to discuss. Thanks, everyone.
from fast-speedtest-api.
Related Issues (15)
- Latency and Upload speed? HOT 6
- How long does the token last? HOT 2
- How to use this API to test against multiple ISP connections
- update to fast api V2
- Un-pkg-able
- How and from where to get token for fast.com ? HOT 12
- Get all values in verbose mode HOT 2
- Example use as the documentation is not good: HOT 2
- Get the real-time speed and detailed information of the current network
- Is this package legal? HOT 1
- Angular Integration HOT 3
- Getting cors issue while using in react app HOT 1
- Is it possible to run this typescript process
- Speed doesnot change in low internet speed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-speedtest-api.