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

Added removal of a trailing slash from CORE_URL #303

Merged
merged 1 commit into from
Jun 3, 2023

Conversation

dszlachta
Copy link
Collaborator

When user sets CORE_URL variable in their .env file to a value that ends with /, our code produces URLs with double /, e.g. http://example.com//names. This would still work for simple GET requests, but for anything more advanced the preflight OPTIONS request would fail because the URLs don't match.

This PR fixes the issue.

@dszlachta dszlachta requested a review from tjayrush May 30, 2023 08:08
@tjayrush tjayrush merged commit 2fdbfbe into develop Jun 3, 2023
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.

2 participants