summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/surfaces/websockets/manifest.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/surfaces/websockets/manifest.cc b/libs/surfaces/websockets/manifest.cc
index be5ac342be..3279f408b0 100644
--- a/libs/surfaces/websockets/manifest.cc
+++ b/libs/surfaces/websockets/manifest.cc
@@ -72,11 +72,9 @@ SurfaceManifest::to_json ()
{
std::stringstream ss;
- std::string rel_path = Glib::path_get_basename (Glib::path_get_dirname (_path));
-
ss << "{"
<< "\"diskPath\":\"" << _path << "\""
- << ",\"path\":\"" << rel_path << "\""
+ << ",\"path\":\"" << Glib::path_get_basename (_path) << "\""
<< ",\"name\":\"" << _name << "\""
<< ",\"description\":\"" << _description << "\""
<< "}";