15 lines
300 B
D
15 lines
300 B
D
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");
|
|
}
|
|
}
|