Skip to content

Commit 102f9da

Browse files
authored
Merge pull request #623 from evoskuil/master
Fix render of native embedded site in place of admin.
2 parents c3e1967 + 37bd394 commit 102f9da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/protocols/protocol_html.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ bool protocol_html::try_dispatch_object(const request&) NOEXCEPT
101101
// The content-type field is determined by the requested file extension.
102102
void protocol_html::dispatch_embedded(const request& request) NOEXCEPT
103103
{
104-
const auto& pages = server_settings().native.pages;
104+
const auto& pages = options_.pages;
105105
switch (const auto media = file_media_type(to_path(request.target()),
106106
media_type::text_html))
107107
{

0 commit comments

Comments
 (0)