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

fix: apply getPath to PUBLIC_PATH to allow use with CDN #10

Closed
wants to merge 15 commits into from

Conversation

dcoa
Copy link
Collaborator

@dcoa dcoa commented Aug 20, 2024

Description

When ORA is configured to be used with CDN the locationId is unresolved because PUBLIC_PATH is not fully matched.

image

The API returns 404 because the location has /ora-grading/.

How to replicate

  1. Set the public path to a URL, e.g. ENV PUBLIC_PATH='http://apps.local.edly.io/ora-grading/'
  2. Load the ORA-Grading MFE
  3. Check the request.

@dcoa dcoa changed the base branch from master to ednx-release/redwood.master August 20, 2024 04:41
@dcoa dcoa requested a review from a team August 20, 2024 05:03
@dcoa dcoa closed this Aug 20, 2024
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.

5 participants