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

improve ux with hints for serve all requests for the /static/ and /media/ paths #60

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

turbotimon
Copy link
Contributor

According to #56

Copy link
Member

@rixx rixx left a comment

Choose a reason for hiding this comment

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

Thanks! Not convinced that this will help too much – feels like a very narrow reaction to one problem, so but as I keep saying: this repo is community-maintained and I'm happy to bow to community preferences.

; never run debug in production
; never run debug in production. Make sure you serve all requests for the
; `/static/` and `/media/` paths when debug is False.
; See [installation](https://docs.pretalx.org/administrator/installation/#step-7-ssl) for more information
Copy link
Member

Choose a reason for hiding this comment

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

Not sure it's particularly useful to have a markdown-formatted link in a file that will never be parsed as markdown, and will make the link harder to select and open in most file editors

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, you're absolutely right about the markdown... Should i remove it?

@@ -8,6 +8,7 @@ services:
- redis
- db
environment:
# Hint: Make sure you serve all requests for the `/static/` and `/media/` paths when debug is False. See [installation](https://docs.pretalx.org/administrator/installation/#step-7-ssl) for more information
Copy link
Member

Choose a reason for hiding this comment

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

I'm not convinced that adding this informaitn here is valuable – you might as well add information on every other environment variable and/or setting and/or component.

@rixx rixx merged commit d4ddb6f into pretalx:main Mar 26, 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

2 participants