From 37bd3942198bc0c33c3bda543d03accd6ea00dfb Mon Sep 17 00:00:00 2001 From: evoskuil Date: Thu, 12 Feb 2026 14:54:28 -0500 Subject: [PATCH] Fix render of native embedded site in place of admin. --- src/protocols/protocol_html.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocols/protocol_html.cpp b/src/protocols/protocol_html.cpp index 0b389dc8..5eb3b23f 100644 --- a/src/protocols/protocol_html.cpp +++ b/src/protocols/protocol_html.cpp @@ -101,7 +101,7 @@ bool protocol_html::try_dispatch_object(const request&) NOEXCEPT // The content-type field is determined by the requested file extension. void protocol_html::dispatch_embedded(const request& request) NOEXCEPT { - const auto& pages = server_settings().native.pages; + const auto& pages = options_.pages; switch (const auto media = file_media_type(to_path(request.target()), media_type::text_html)) {