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 local development. #644

Merged
merged 1 commit into from
May 26, 2022
Merged

Fix local development. #644

merged 1 commit into from
May 26, 2022

Conversation

dessalines
Copy link
Member

No description provided.

Nutomic
Nutomic approved these changes May 13, 2022
Copy link
Member

@Nutomic Nutomic left a comment

Choose a reason for hiding this comment

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

Clicked approve too fast. Actually this means that we wont notice csp issues during development, so there is a risk that such problems slip into production. I think its better to keep csp always enabled if at all possible.

Wouldnt it be enough to set LEMMY_WS_HOST for your dev setup over local network?

@dessalines
Copy link
Member Author

Yep that does seem to fix it (although it breaks eruda). I'll update this shortly.

@dessalines dessalines force-pushed the fix_development_mode branch from d67832f to ccf4d89 Compare May 24, 2022 17:27
@dessalines dessalines force-pushed the fix_development_mode branch from ccf4d89 to 8fc440a Compare May 26, 2022 20:48
@dessalines dessalines merged commit fcb85ef into main May 26, 2022
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