| 12345678910111213141516171819 |
- #include "smartbotic/webui.hpp"
- #include <string>
- namespace smartbotic::webui {
- namespace {
- std::string g_assets_path = "./webui/assets";
- } // namespace
- auto GetAssetsPath() -> std::string {
- return g_assets_path;
- }
- void SetAssetsPath(std::string_view path) {
- g_assets_path = std::string(path);
- }
- } // namespace smartbotic::webui
|