WebSockets: fix path field in index.json
This commit is contained in:
parent
c96e392f0f
commit
ad363d12a2
@ -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 << "\""
|
||||
<< "}";
|
||||
|
Loading…
Reference in New Issue
Block a user