aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/frontend/frontend.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2024-09-18 15:32:30 +0200
committerMartin Ridgers <[email protected]>2024-09-24 10:57:34 +0200
commit28b4d4ccfc642a0dab4147fd79201b049f77b430 (patch)
tree0bda0cb711f1dcff2161d42f166924e8990b73b0 /src/zenserver/frontend/frontend.cpp
parentOnly use embedded frontend content in release builds (diff)
downloadzen-28b4d4ccfc642a0dab4147fd79201b049f77b430.tar.xz
zen-28b4d4ccfc642a0dab4147fd79201b049f77b430.zip
Updated stale comment
Diffstat (limited to 'src/zenserver/frontend/frontend.cpp')
-rw-r--r--src/zenserver/frontend/frontend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenserver/frontend/frontend.cpp b/src/zenserver/frontend/frontend.cpp
index 96b680174..9ec897157 100644
--- a/src/zenserver/frontend/frontend.cpp
+++ b/src/zenserver/frontend/frontend.cpp
@@ -26,8 +26,8 @@ HttpFrontendService::HttpFrontendService(std::filesystem::path Directory) : m_Di
{
std::filesystem::path SelfPath = GetRunningExecutablePath();
- // Locate a .zip file appended onto the end of this binary
#if ZEN_BUILD_RELEASE
+ // Load an embedded Zip archive
IoBuffer HtmlZipDataBuffer(IoBuffer::Wrap, gHtmlZipData, sizeof(gHtmlZipData) - 1);
m_ZipFs = ZipFs(std::move(HtmlZipDataBuffer));
#endif