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

Data update for 2021-22 #117

Merged
merged 5 commits into from
Feb 24, 2023
Merged

Data update for 2021-22 #117

merged 5 commits into from
Feb 24, 2023

Conversation

jbaldo
Copy link
Member

@jbaldo jbaldo commented Feb 15, 2023

No description provided.

@@ -6,7 +6,7 @@

# hosted GCloud functions no longer have a hosted db connection
# api_location = "https://us-central1-openousd.cloudfunctions.net/openousd"
api_location = "http://localhost:8080"
api_location = "http://host.docker.internal:8080"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fetches from host rather than the docker container

@@ -42,8 +42,8 @@ const descriptionRenderOptions = {

const CentralProgram = ({ data }) => {
const centralProgram = data.centralProgramsJson
const translatedProgramName = data.contentfulCentralProgram.programName
const contentfulProgramDescription = data.contentfulCentralProgram.description
const translatedProgramName = data.contentfulCentralProgram?.programName || data.centralProgramsJson.name
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bug where translated name wasn't available so the whole thing failed to build

@jbaldo jbaldo merged commit c09cceb into main Feb 24, 2023
@jbaldo jbaldo deleted the 2021 branch February 24, 2023 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant