mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-26 06:11:21 +00:00
Move Lemmy federation context to join-lemmy.org
Ref https://github.com/LemmyNet/lemmy/issues/4234
This commit is contained in:
parent
24e1b3e06e
commit
a77788668b
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,10 @@ server.use(express.urlencoded({ extended: false }) as RequestHandler);
|
||||||
server.use("/static", express.static(path.resolve("./dist")));
|
server.use("/static", express.static(path.resolve("./dist")));
|
||||||
server.use("/docs", express.static(path.resolve("./dist/assets/docs")));
|
server.use("/docs", express.static(path.resolve("./dist/assets/docs")));
|
||||||
server.use("/api", express.static(path.resolve("./dist/assets/api")));
|
server.use("/api", express.static(path.resolve("./dist/assets/api")));
|
||||||
|
server.use(
|
||||||
|
"/context.json",
|
||||||
|
express.static(path.resolve("./dist/assets/lemmy_federation_context.json")),
|
||||||
|
);
|
||||||
server.use("/feed.xml", express.static(path.resolve("./dist/feed.xml")));
|
server.use("/feed.xml", express.static(path.resolve("./dist/feed.xml")));
|
||||||
|
|
||||||
function erudaInit(): string {
|
function erudaInit(): string {
|
||||||
|
|
Loading…
Reference in a new issue