You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
Fix delete and preview back links when baseURL is domain root
Former-commit-id: 3507b4b3c04620666850f91d9805c2aba6b0922a [formerly 947d4eabaf424e08e1c98aa83485ecdc103a21ef] [formerly 9f645f718de412acfb25e74bec57520100b3b18f [formerly 5fd7429d5d]]
Former-commit-id: d6ce740e97e1e2fa83f75035ac0d8442e3d11b9e [formerly d0399d9beca23a92d4241ed1001923c9903ecba0]
Former-commit-id: 1e106c3c4d098ddeac69952f94d03d20c6327ab8
This commit is contained in:
@@ -50,8 +50,7 @@ export default {
|
||||
return this.req.data.url + '?raw=true'
|
||||
},
|
||||
back: function (event) {
|
||||
let url = page.removeLastDir(window.location.pathname)
|
||||
if (url === '') url = '/'
|
||||
let url = page.removeLastDir(window.location.pathname) + '/'
|
||||
page.open(url)
|
||||
},
|
||||
allowEdit: function (event) {
|
||||
|
||||
Reference in New Issue
Block a user