@@ -23,7 +23,7 @@ const Dict_Apis = {
};
function getPathname() {
let pathname = location.pathname;
- pathname = pathname.replace(/(\S+\/)\S+\.html/g, "$1");
+ pathname = pathname.replace(/(\S*\/)\S+\.html/g, "$1");
return pathname;
}