mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-01 01:59:56 +00:00
Merge branch 'main' into community-search
This commit is contained in:
commit
500003f310
3 changed files with 12 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "lemmy-ui",
|
"name": "lemmy-ui",
|
||||||
"version": "0.18.1-rc.2",
|
"version": "0.18.1-rc.3",
|
||||||
"description": "An isomorphic UI for lemmy",
|
"description": "An isomorphic UI for lemmy",
|
||||||
"repository": "https://github.com/LemmyNet/lemmy-ui",
|
"repository": "https://github.com/LemmyNet/lemmy-ui",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
|
|
|
@ -3,9 +3,15 @@ import type { Response } from "express";
|
||||||
export default async ({ res }: { res: Response }) => {
|
export default async ({ res }: { res: Response }) => {
|
||||||
res.setHeader("content-type", "text/plain; charset=utf-8");
|
res.setHeader("content-type", "text/plain; charset=utf-8");
|
||||||
|
|
||||||
res.send(`Contact: mailto:security@lemmy.ml
|
res.send(
|
||||||
Contact: mailto:admin@` + process.env.LEMMY_UI_LEMMY_EXTERNAL_HOST + `
|
`Contact: mailto:security@lemmy.ml
|
||||||
Contact: mailto:security@` + process.env.LEMMY_UI_LEMMY_EXTERNAL_HOST + `
|
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
|
Expires: 2024-01-01T04:59:00.000Z
|
||||||
`);
|
`
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,8 +4,8 @@ import path from "path";
|
||||||
import process from "process";
|
import process from "process";
|
||||||
import CatchAllHandler from "./handlers/catch-all-handler";
|
import CatchAllHandler from "./handlers/catch-all-handler";
|
||||||
import ManifestHandler from "./handlers/manifest-handler";
|
import ManifestHandler from "./handlers/manifest-handler";
|
||||||
import SecurityHandler from "./handlers/security-handler";
|
|
||||||
import RobotsHandler from "./handlers/robots-handler";
|
import RobotsHandler from "./handlers/robots-handler";
|
||||||
|
import SecurityHandler from "./handlers/security-handler";
|
||||||
import ServiceWorkerHandler from "./handlers/service-worker-handler";
|
import ServiceWorkerHandler from "./handlers/service-worker-handler";
|
||||||
import ThemeHandler from "./handlers/theme-handler";
|
import ThemeHandler from "./handlers/theme-handler";
|
||||||
import ThemesListHandler from "./handlers/themes-list-handler";
|
import ThemesListHandler from "./handlers/themes-list-handler";
|
||||||
|
|
Loading…
Reference in a new issue