Skip to content

Commit c417830

Browse files
committed
CSSTUDIO-3461 Add "index.html" at the end of the documentation location.
1 parent 9c96f52 commit c417830

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/ui/src/main/java/org/phoebus/ui/help/OpenHelp.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ public Void call()
6363
public static String determineHelpLocation()
6464
{
6565
if (!Preferences.documentation_location.isEmpty()) {
66-
return Preferences.documentation_location;
66+
String suffix = Preferences.documentation_location.endsWith("/") ? "index.html" : "/index.html";
67+
return Preferences.documentation_location + suffix;
6768
}
6869

6970
final File phoenix_install = Locations.install();

0 commit comments

Comments
 (0)