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

Set media and static path as the same as in production #357

Closed
wants to merge 2 commits into from

Conversation

Xpirix
Copy link
Collaborator

@Xpirix Xpirix commented Feb 13, 2024

This PR proposes to set the path for the media and static folder as the same as in production since we split these two.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (998e0b5) 36.06% compared to head (ff0dc21) 36.06%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #357   +/-   ##
=======================================
  Coverage   36.06%   36.06%           
=======================================
  Files         111      111           
  Lines        4899     4899           
=======================================
  Hits         1767     1767           
  Misses       3132     3132           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


# URL prefix for static files.
# Example: "http://example.com/static/", "http://static.example.com/"
STATIC_URL = "/static/"
STATIC_URL = "/static/static/"
Copy link
Collaborator

Choose a reason for hiding this comment

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

perhaps also use environment variable here, and make '/static/' as default

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for the review @dimasciput , I've made the change.

@Xpirix Xpirix closed this May 22, 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.

None yet

3 participants