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