Files
mach_examples/06_todo_events/main.c
2026-05-23 23:17:58 -05:00

16 lines
275 B
C

#include <mach.h>
#include <session_auth.h>
#include "todos/todos.c"
#include "activity/activity.c"
mach(){
error(m_error, {mustache("5xx")});
error(m_not_found, {mustache("404")});
middleware(session());
resource("home", "/",
.get = {mustache("home")}
);
}