chris-website/source/nl/netsoj/chris/blog/interfaces/micropub.d

15 lines
300 B
D
Raw Normal View History

2021-11-18 18:28:24 +00:00
module nl.netsoj.chris.blog.interfaces.micropub;
import vibe.d;
import nl.netsoj.chris.blog.interfaces.http;
@translationContext!TranslateContext
class MicroPub {
@path("/")
void getIndex(HTTPServerRequest req, HTTPServerResponse res) {
res.writeBody("MicroPub endpoint", "text/plain");
}
}