-
Notifications
You must be signed in to change notification settings - Fork 336
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
Add Security.txt #1408
Add Security.txt #1408
Conversation
Attempted to run a prettier using a few different online tools and all resulted in no changes to the code. Not sure what it's complaining about. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Husky didn't get set up properly, so its failing lint. You'll need to run prettier manually.
@@ -22,6 +23,7 @@ if (!process.env["LEMMY_UI_DISABLE_CSP"] && !process.env["LEMMY_UI_DEBUG"]) { | |||
server.use(setDefaultCsp); | |||
} | |||
|
|||
server.get("/.well-known/security.txt", SecurityHandler); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll need to make sure this gets handled by nginx too.
Not sure why it requested a review from alectrocute but okay. |
@rcmaehl The actual changes seem good to me. @dessalines should merging this be held off until the nginx configs are updated to handle it? |
Ah so it requests a review every time I update the branch. New to big pull requests... |
@SleeplessOne1917 We can merge this before those nginx configs are done. |
https://securitytxt.org/