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

Only append / when DJANGO_VITE_STATIC_URL_PREFIX is provided (fixes #81) #82

Merged
merged 1 commit into from
Jun 8, 2023

Conversation

emab
Copy link
Contributor

@emab emab commented Jun 5, 2023

This PR modifies the logic that adds a / to the end of the DJANGO_VITE_STATIC_URL_PREFIX if it does not end with /.

This fixes an issue where a / will be added to the start of production_server_url if you didn't provide DJANGO_VITE_STATIC_URL_PREFIX.

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