Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use web component attribute versus environment variable to set base URL for API #1034

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jun 6, 2024

  1. WIP: Encapsulate axios calls in an Api class

    So we only need to set the host/baseURL in one place. This should make
    it easier to pull the host/baseURL (i.e. the value of the
    `REACT_APP_API_ENDPOINT` env var) up into an attribute on the web
    component.
    floehopper committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    f5a3616 View commit details
    Browse the repository at this point in the history