Skip to content

Commit f76c79c

Browse files
committed
fix bug
1 parent b311b48 commit f76c79c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

obsidian.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ async function getDirectoryListing(req) {
795795
async function markPathForSelectedPage(req, files) {
796796
// console.log("getSelectedPage", req);
797797
// console.log("getSelectedPage", files);
798-
let path = req._parsedUrl.path;
798+
let path = decodeURIComponent(req.path);
799799
if(path.startsWith("/md/")) {
800800
path = path.slice(4);
801801
}

0 commit comments

Comments
 (0)