diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-20 17:38:16 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-20 17:38:16 +0200 |
commit | 269bbdfeae9672e17f0dbd02172e925fc16eb904 (patch) | |
tree | 513c0c125a5d917487822f4d64bce9d2eb3e6429 /api/src/middlewares | |
parent | :arrow_up: update test client (diff) | |
download | server-269bbdfeae9672e17f0dbd02172e925fc16eb904.tar.xz |
:sparkles: accept invite page
Diffstat (limited to 'api/src/middlewares')
-rw-r--r-- | api/src/middlewares/TestClient.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/src/middlewares/TestClient.ts b/api/src/middlewares/TestClient.ts index 73e7b9c2..79f8f442 100644 --- a/api/src/middlewares/TestClient.ts +++ b/api/src/middlewares/TestClient.ts @@ -67,6 +67,8 @@ export default function TestClient(app: Application) { res.set("Cache-Control", "public, max-age=" + 60 * 60 * 24); res.set("content-type", "text/html"); + if (req.url.startsWith("/invite")) return res.send(html.replace("9b2b7f0632acd0c5e781", "9f24f709a3de09b67c49")); + res.send(html); }); } |