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