13
0

WebSockets: use canonical paths in index.json

This commit is contained in:
Luciano Iam 2020-04-12 10:12:58 +02:00 committed by Robin Gareus
parent 46d39a9ee7
commit 1b4deb11ec
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -80,7 +80,7 @@ ServerResources::scan ()
{
std::stringstream ss;
std::string builtin_dir_str = builtin_dir ();
std::string builtin_dir_str = PBD::canonical_path (builtin_dir ());
SurfaceManifestVector builtin = read_manifests (builtin_dir_str);
ss << "[{"
@ -96,7 +96,7 @@ ServerResources::scan ()
}
}
std::string user_dir_str = user_dir ();
std::string user_dir_str = PBD::canonical_path (user_dir ());
SurfaceManifestVector user = read_manifests (user_dir_str);
ss << "]},{"