jormungandr-bite/packages/backend
daikei ebb93328d5 [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
..
.idea Create move type 2022-11-23 21:49:52 +01:00
.vscode Update settings.json 2022-04-15 21:33:00 +09:00
assets docs: 📝 custom assets 2023-02-11 13:16:45 -08:00
migration chore: formatting 2023-04-07 22:46:10 -07:00
native-utils formatting 2023-04-06 18:56:46 -07:00
nsfw-model feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
src [Fix] Properly replace koa-fix-trailing-slashes with inhouse script (#9870) 2023-04-17 22:36:22 +00:00
test formatting 2023-04-06 18:56:46 -07:00
.mocharc.json fix: mocha テストが動かないのを修正 v2 (#8892) 2022-06-26 19:16:32 +09:00
.swcrc perf: 👷 build backend with swc 2023-01-10 16:48:49 -08:00
check_connect.js formatting 2023-04-06 18:56:46 -07:00
jsconfig.json use eslint 2021-11-12 10:35:41 +09:00
ormconfig.js formatting 2023-04-06 18:56:46 -07:00
package.json [Fix] Properly replace koa-fix-trailing-slashes with inhouse script (#9870) 2023-04-17 22:36:22 +00:00
tsconfig.json Refactor: use rust for native mastodon id conversion (#9786) 2023-03-31 01:58:28 +00:00