fix typos in baseurl
This commit is contained in:
parent
e0563c3c3e
commit
d56a303896
1 changed files with 2 additions and 2 deletions
|
|
@ -9,8 +9,8 @@
|
|||
console.log("butter-dir-listing.js loaded!");
|
||||
|
||||
const supported_extensions = [".apk"];
|
||||
const usbRoot = "/usb-butter/";
|
||||
const inferredBaseURL = window.location.pathname.split("/usb-butter/")[0] + "/";
|
||||
const usbRoot = "usb-butter/";
|
||||
const inferredBaseURL = window.location.pathname.split("/" + usbRoot)[0] + "/";
|
||||
console.log("Inferred Base URL:", inferredBaseURL);
|
||||
|
||||
const getFolderDivHTML = (directory_name, number_of_items, href) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue