Db
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include <sqlite3.h> // Include SQLite
|
||||
#include <stdexcept> // For std::runtime_error
|
||||
|
||||
namespace dropshell {
|
||||
namespace simple_object_storage {
|
||||
|
||||
// Simple RAII helper for file deletion
|
||||
class ScopeFileDeleter {
|
||||
@@ -125,7 +125,7 @@ void Server::stop() {
|
||||
}
|
||||
|
||||
void Server::setup_routes() {
|
||||
const std::string welcome_page = "<html><body><h1>Dropshell Template Registry</h1></body></html>";
|
||||
const std::string welcome_page = "<html><body><h1>simple_object_storage Template Registry</h1></body></html>";
|
||||
// Welcome page
|
||||
server_.Get("/", [welcome_page](const httplib::Request&, httplib::Response& res) {
|
||||
res.set_content(welcome_page, "text/html");
|
||||
@@ -403,4 +403,4 @@ std::pair<std::string, std::string> Server::parse_label_tag(const std::string& l
|
||||
return {label_tag.substr(0, colon_pos), label_tag.substr(colon_pos + 1)};
|
||||
}
|
||||
|
||||
} // namespace dropshell
|
||||
} // namespace simple_object_storage
|
Reference in New Issue
Block a user