We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 143f71a commit 9eb0640Copy full SHA for 9eb0640
src/utils/Url.js
@@ -76,7 +76,7 @@ export default {
76
if (pathnames[1].startsWith("/")) pathnames[1] = pathnames[1].slice(1);
77
const contentUri = Uri.parse(url);
78
let [root, pathname] = contentUri.docId.split(":");
79
- const newDocId = path.join(pathname, ...pathnames.slice(1));
+ let newDocId = path.join(pathname, ...pathnames.slice(1));
80
if (/^content:\/\/com.termux/.test(url)) {
81
const rootCondition = root.endsWith("/");
82
const newDocIdCondition = newDocId.startsWith("/");
0 commit comments