mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
WebSockets: use canonical paths in index.json
This commit is contained in:
parent
46d39a9ee7
commit
1b4deb11ec
1 changed files with 2 additions and 2 deletions
|
|
@ -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 << "]},{"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue