MaCH repo
This commit is contained in:
11
00_hello_text/main.c
Normal file
11
00_hello_text/main.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <mach.h>
|
||||
|
||||
config mach(){
|
||||
return (config) {
|
||||
.resources = {
|
||||
{"home", "/", .mime = mime_txt,
|
||||
.get = {render(.template= "hello")}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user