diff --git a/examples/Http3Server.cpp b/examples/Http3Server.cpp index b02299f..6176f9f 100644 --- a/examples/Http3Server.cpp +++ b/examples/Http3Server.cpp @@ -26,10 +26,10 @@ int main() { .key_file_name = "misc/key.pem", .cert_file_name = "misc/cert.pem", .passphrase = "1234" - })).get("/video.mp4", [&buffer](auto *res, auto *req) { + })).get("/*", [&buffer](auto *res, auto *req) { res->writeHeader("Alt-Svc", "h3=\":9004\""); res->writeHeader("Alternative-Protocol", "quic:9004"); - res->end({"This is not HTTP3!", 18}); + res->end("