feat: refactoring, soem work on forms

This commit is contained in:
2026-09-13 23:17:37 +02:00
parent fa07d4cc0b
commit 0dbbe5361a
17 changed files with 260 additions and 116 deletions
+9
View File
@@ -0,0 +1,9 @@
import { define } from "../../utils.ts";
export default define.middleware((ctx) => {
if (ctx.state.loggedIn) {
return ctx.redirect("/dashboard", 303);
}
return ctx.next();
});