hippofish/packages/backend/src/server
daikei 2cdaad588c [Fix] Properly replace koa-fix-trailing-slashes with inhouse script (#9870)
This follows up #9869, with an awaited ``next()``, fixing the script.

> I'm looking to remove another 5kb package, replacing it with an in-house script. The commit i'm proposing translates the entire job of koa-remove-trailing-slashes into a 206 byte script that gets the job done well.

(just to show the code does work)
![](https://s3.kitsunes.club/storage/41c7854d-d01e-4f4c-94dd-8b651e2d7367.gif)

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9870
Co-authored-by: daikei <daikei@noreply.codeberg.org>
Co-committed-by: daikei <daikei@noreply.codeberg.org>
2023-04-17 22:36:22 +00:00
..
activitypub refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
api Allow to mute my own boosts 2023-04-12 15:52:46 +09:00
file Cleaning up image conversions to use webp, and increasing the thumbnail size. 2023-01-28 17:46:03 -08:00
proxy Also increase the size for proxy. 2023-01-28 18:00:08 -08:00
web chore: formatting 2023-04-14 15:35:18 -07:00
activitypub.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
index.ts [Fix] Properly replace koa-fix-trailing-slashes with inhouse script (#9870) 2023-04-17 22:36:22 +00:00
nodeinfo.ts Expand caption limit to 1500 characters 2023-03-05 16:51:44 +10:00
well-known.ts Fix config 2023-01-23 10:35:51 -08:00