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

API urls are hard coded to localhost #542

@elihschiff

Description

@elihschiff

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions