diff --git a/share/web_surfaces/index/main.js b/share/web_surfaces/index/main.js
index 3594268991..be2ef70d02 100644
--- a/share/web_surfaces/index/main.js
+++ b/share/web_surfaces/index/main.js
@@ -37,23 +37,30 @@ import { ArdourClient } from '/shared/ardour.js';
const li = document.createElement('li');
li.innerHTML = `
- Filesystem location:
-
- ${group.filesystemPath}
- `;
+ Filesystem location:
+
+ ${group.filesystemPath}
+ `;
ul.appendChild(li);
if (group.surfaces.length > 0) {
group.surfaces.sort((a, b) => a.name.localeCompare(b.name));
for (const surface of group.surfaces) {
+ let path = group.path + '/' + surface.path + '/';
+
+ // see https://github.com/Ardour/ardour/pull/491
+ if (navigator.userAgent.indexOf('Windows') != -1) {
+ path += 'index.html';
+ }
+
const li = document.createElement('li');
li.innerHTML = `
- ${surface.name}
-
- (${surface.version})
- ${surface.description}
- `;
+ ${surface.name}
+
+ (${surface.version})
+ ${surface.description}
+ `;
ul.appendChild(li);
}
} else {