Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

API urls are hard coded to localhost #542

Open
elihschiff opened this issue Feb 26, 2020 · 0 comments
Open

API urls are hard coded to localhost #542

elihschiff opened this issue Feb 26, 2020 · 0 comments

Comments

@elihschiff
Copy link
Contributor

Describe the bug
Many urls that are returned from the api are hard coded as localhost instead of using the url of the website.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://yacs.cs.rpi.edu/api/v6/listings
  2. View: data>0>relationships>course>links>related
  3. See error

Expected behavior
The url should be the same as the url you are requesting from. So on localhost it should stay as localhost but on yacs.cs.rpi.edu it should be that

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Firefox
  • Version: 73
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant