MaCH repo

This commit is contained in:
2026-05-08 09:39:28 -05:00
committed by nightshade
commit 1f7f67b1fe
75 changed files with 6017 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#include <mach.h>
config mach(){
return (config) {
.resources = {
{"home", "/", .mime = m_txt,
.get = {
input({"name", .validate = v_not_empty, .fallback = "world"}),
render(.template = "Hello {{name}}")
}
}
}
};
}