mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-01 08:41:14 +00:00
Changing security.txt to use github security advisories page.
- Fixes #2332
This commit is contained in:
parent
5ba9da1545
commit
1a33cd09be
1 changed files with 2 additions and 8 deletions
|
@ -4,14 +4,8 @@ export default async ({ res }: { res: Response }) => {
|
|||
res.setHeader("content-type", "text/plain; charset=utf-8");
|
||||
|
||||
res.send(
|
||||
`Contact: mailto:security@lemmy.ml
|
||||
Contact: mailto:admin@` +
|
||||
process.env.LEMMY_UI_LEMMY_EXTERNAL_HOST +
|
||||
`
|
||||
Contact: mailto:security@` +
|
||||
process.env.LEMMY_UI_LEMMY_EXTERNAL_HOST +
|
||||
`
|
||||
Expires: 2024-01-01T04:59:00.000Z
|
||||
`Contact: https://github.com/LemmyNet/lemmy-ui/security/advisories/new
|
||||
Expires: 2025-01-01T04:59:00.000Z
|
||||
`,
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue