MaCH repo
This commit is contained in:
10
00_hello_text/main.c
Normal file
10
00_hello_text/main.c
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <mach.h>
|
||||
|
||||
mach(main){
|
||||
context("greeting", "hello world");
|
||||
resource("home", "/", .mime = m_txt,
|
||||
.get = {
|
||||
respond("greeting")
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user