This commit is contained in:
OSK\schmidt
2024-12-04 11:40:00 +01:00
parent 18e080b27d
commit 2a2b0dbbcc
8 changed files with 261 additions and 4 deletions

20
out_embed/all.hpp Normal file
View File

@@ -0,0 +1,20 @@
#pragma once
#include <string>
#include <unordered_map>
#include <saucer/webview.hpp>
#include "index.html.hpp"
namespace saucer::embedded
{
inline auto all()
{
std::unordered_map<std::string, embedded_file> rtn;
rtn.emplace("index.html", embedded_file{saucer::stash<>::view(f1Dqesn4NxFvpVB4P1U5D6IgLugdGaqMvuMcidTvXLCgieH9Dg), "text/html"});
return rtn;
}
} // namespace saucer::embedded

10
out_embed/index.html.hpp Normal file

File diff suppressed because one or more lines are too long