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 CSP in dev mode #1918

Merged
merged 1 commit into from
Jul 12, 2023
Merged

Fix CSP in dev mode #1918

merged 1 commit into from
Jul 12, 2023

Conversation

sunaurus
Copy link
Collaborator

Description

I thought I had CSP properly disabled in dev mode in #1907, but turns out I was wrong (I think I had multiple solutions for this active parallel locally and I committed the wrong one)

This PR just disables CSP when NODE_ENV=development (which it is with build:dev)

Sorry if this caused any inconvenience for anybody!

@dessalines dessalines merged commit 5d4edf5 into LemmyNet:main Jul 12, 2023
1 check passed
@sunaurus sunaurus deleted the dev_csp_fix branch July 12, 2023 14:13
andrewstuart added a commit to andrewstuart/lemmy-ui that referenced this pull request Jul 13, 2023
Handle errors from sharp

Revert "Handle errors from sharp"

This reverts commit 70f6268.

Handle any sharp errors gracefully

Add Toast Messages for Bad Logins (LemmyNet#1874)

* Added toast prompts

* Using generic  message instead.

---------

Co-authored-by: Jacob Rosenzweig <rosenjcb@Jacobs-MacBook-Pro.local>
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>

Fix CSP in dev mode (LemmyNet#1918)

Remove invalid default option from language list (LemmyNet#1919)

Set person_id to myId in handleLeaveModTeam (LemmyNet#1929)
dessalines pushed a commit that referenced this pull request Jul 21, 2023
andrewstuart added a commit to andrewstuart/lemmy-ui that referenced this pull request Jul 24, 2023
Handle errors from sharp

Revert "Handle errors from sharp"

This reverts commit 70f6268.

Handle any sharp errors gracefully

Add Toast Messages for Bad Logins (LemmyNet#1874)

* Added toast prompts

* Using generic  message instead.

---------

Co-authored-by: Jacob Rosenzweig <rosenjcb@Jacobs-MacBook-Pro.local>
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>

Fix CSP in dev mode (LemmyNet#1918)

Remove invalid default option from language list (LemmyNet#1919)

Set person_id to myId in handleLeaveModTeam (LemmyNet#1929)
andrewstuart added a commit to andrewstuart/lemmy-ui that referenced this pull request Jul 27, 2023
Handle errors from sharp

Revert "Handle errors from sharp"

This reverts commit 70f6268.

Handle any sharp errors gracefully

Add Toast Messages for Bad Logins (LemmyNet#1874)

* Added toast prompts

* Using generic  message instead.

---------

Co-authored-by: Jacob Rosenzweig <rosenjcb@Jacobs-MacBook-Pro.local>
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>

Fix CSP in dev mode (LemmyNet#1918)

Remove invalid default option from language list (LemmyNet#1919)

Set person_id to myId in handleLeaveModTeam (LemmyNet#1929)
andrewstuart pushed a commit to andrewstuart/lemmy-ui that referenced this pull request Jul 27, 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.

None yet

3 participants