diff options
author | Luciano Iam <lucianito@gmail.com> | 2020-04-12 10:12:58 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-04-13 16:29:38 +0200 |
commit | 1b4deb11ec648146aa7de912e2ed79f59b8d6c6d (patch) | |
tree | 7140feee9bdca3c65b55fc63f4737f07027c551f /libs | |
parent | 46d39a9ee7be9135b264ec6dd2834a27b17bd7c0 (diff) |
WebSockets: use canonical paths in index.json
Diffstat (limited to 'libs')
-rw-r--r-- | libs/surfaces/websockets/resources.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/surfaces/websockets/resources.cc b/libs/surfaces/websockets/resources.cc index e565da0469..b97935e48d 100644 --- a/libs/surfaces/websockets/resources.cc +++ b/libs/surfaces/websockets/resources.cc @@ -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 << "]},{" |