16 lines
213 B
C++
16 lines
213 B
C++
#pragma once
|
|
|
|
#include <httplib.h>
|
|
|
|
#include <filesystem>
|
|
|
|
namespace lm {
|
|
|
|
class StaticFileServer
|
|
{
|
|
public:
|
|
static void mount(httplib::Server& svr, const std::filesystem::path& www_root);
|
|
};
|
|
|
|
} // namespace lm
|