Full C++23 framework tree: runtime, observability, security, data, app, realtime, supervisor, clients, CLI, example plus enterprise tenancy, audit, operability, governance, supplychain. Postgres via docker compose for tests.
20 lines
532 B
C++
20 lines
532 B
C++
#include "App.hpp"
|
|
|
|
namespace molo::example::app {
|
|
|
|
namespace {
|
|
|
|
// Byte-identical reproducible bundle. Production bundles are generated by
|
|
// the asset embedder CLI (09-cli-ops.md); this hand-written copy proves the
|
|
// serving path with sorted names and no timestamps.
|
|
|
|
} // namespace
|
|
|
|
void load_embedded(Services& services) {
|
|
services.embedded["/app.css"] =
|
|
"/* embedded bundle */\nbody{font-family:sans-serif}\n";
|
|
services.embedded["/hello.txt"] = "hello from embedded assets\n";
|
|
}
|
|
|
|
} // namespace molo::example::app
|