MaCH repo

This commit is contained in:
2026-05-02 22:57:33 -05:00
committed by nightshade
commit a7aec7abca
74 changed files with 5946 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#include <mach.h>
config mach(){
return (config) {
.resources = {
{"home", "/", .mime = mime_txt,
.get = {
validate({"name", .validation = validate_not_empty, .fallback = "world"}),
render(.template = "Hello {{name}}")
}
}
}
};
}