fixup! Add a basic readme

This commit is contained in:
fruye 2023-03-23 16:34:10 +01:00
parent 27eb8e72b0
commit 6a3b1704aa
1 changed files with 9 additions and 9 deletions

View File

@ -15,27 +15,27 @@
```patch
diff --git a/packages/backend/src/server/web/index.ts b/packages/backend/src/server/web/index.ts
index 642a17d57..1a2891663 100644
index 642a17d57..714edc543 100644
--- a/packages/backend/src/server/web/index.ts
+++ b/packages/backend/src/server/web/index.ts
@@ -141,6 +141,18 @@ router.get("/apple-touch-icon.png", async (ctx) => {
});
});
});
+router.get("/akkomafe", async (ctx) => {
+ await send(ctx as any, '/akkomafe/index.html', {
+ root: staticAssets,
+ });
+ await send(ctx as any, '/akkomafe/index.html', {
+ root: staticAssets,
+ });
+});
+
+router.get("/akkomafe/(.*)", async (ctx) => {
+ await send(ctx as any, '/akkomafe/index.html', {
+ root: staticAssets,
+ });
+ await send(ctx as any, '/akkomafe/index.html', {
+ root: staticAssets,
+ });
+});
+
router.get("/twemoji/(.*)", async (ctx) => {
const path = ctx.path.replace("/twemoji/", "");
const path = ctx.path.replace("/twemoji/", "");
```