PhillipNgo / PScheduler

This repo represents pscheduler.com, an open source schedule generation and building tool for Virginia Tech students.
http://www.PScheduler.com
13 stars 7 forks source link

API Errors? #9

Closed AaronLionsheep closed 5 years ago

AaronLionsheep commented 6 years ago

Hey just checked this out on Safari 12.0 and there are some errors connecting to your API:

[Error] Origin https://www.pscheduler.com is not allowed by Access-Control-Allow-Origin.
[Error] Fetch API cannot load https://fdnvrxrba7.execute-api.us-east-1.amazonaws.com/beta/courses/search?query=CS%201114&size=1000&term=201809 due to access control checks.
[Error] Failed to load resource: Origin https://www.pscheduler.com is not allowed by Access-Control-Allow-Origin. (search, line 0)

I think this is because you are trying to load an Ajax resource outside of the www.pscheduler.com domain.

PhillipNgo commented 6 years ago

Were you able to send another request afterwards succesfully?

AaronLionsheep commented 6 years ago

Yeah I was able to get search results when using pscheduler.com.

PhillipNgo commented 5 years ago

Accessing www.pscheduler.com now redirects to pscheduler.com, thanks for reporting this