Added ENFORCE_BASEPATH option, fixes #68

This commit is contained in:
Daniel 2018-06-21 15:31:52 +00:00
parent ca4b91a094
commit 35ac89dcb1
5 changed files with 36 additions and 9 deletions

View file

@ -114,7 +114,7 @@
color: #616161 !important;
font-weight: 400;
display: inline-block;
width: 185px;
width: 182px;
white-space: nowrap;
text-overflow: ellipsis;
cursor: pointer;
@ -2300,7 +2300,10 @@
function listdir(path) {
$.get(encodeURI("api/listdir?path=" + path), function(data) {
renderpath(data);
if (!data.error) {
renderpath(data);
}
console.log("Permission denied.");
});
document.getElementById("slide-out").scrollTop = 0;
}