diff --git a/res/js/index.js b/res/js/index.js index cd50320..aeb07ba 100644 --- a/res/js/index.js +++ b/res/js/index.js @@ -216,7 +216,7 @@ var vm = new Vue({ showInfo: function(f) { console.log(f); $.ajax({ - url: pathJoin(["-/info", location.pathname, f.name]), + url: pathJoin(["/-/info", location.pathname, f.name]), method: "GET", success: function(res) { $("#file-info-title").text(f.name);