mirror of
https://github.com/outline/outline.git
synced 2026-11-21 05:24:03 +03:00
* chore: Replace deprecated koa-router with @koa/router v15 * fix: Run optional authentication on all auth provider routes
8 lines
155 B
TypeScript
8 lines
155 B
TypeScript
import Router from "@koa/router";
|
|
|
|
const router = new Router();
|
|
|
|
router.post("/test/error", (ctx) => ctx.throw(500, new Error()));
|
|
|
|
export default router;
|