diff --git a/api-viewer/PVEAPI.js b/api-viewer/PVEAPI.js index 9a14156..eac5bc7 100644 --- a/api-viewer/PVEAPI.js +++ b/api-viewer/PVEAPI.js @@ -458,7 +458,7 @@ Ext.onReady(function() { }); var deepLink = function() { - var path = window.location.hash.substring(1); + var path = window.location.hash.substring(1).replace(/\/\s*$/, '') var endpoint = store.findNode('path', path); if (endpoint) {