mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-22 01:22:16 +00:00
share routes refactoring
This commit is contained in:
2
resources/js/store/modules/fileBrowser.js
vendored
2
resources/js/store/modules/fileBrowser.js
vendored
@@ -105,7 +105,7 @@ const actions = {
|
||||
// Get route
|
||||
let route = {
|
||||
RequestUpload: `/api/file-request/${router.currentRoute.params.token}/navigation`,
|
||||
Public: `/api/browse/navigation/${router.currentRoute.params.token}`,
|
||||
Public: `/api/sharing/navigation/${router.currentRoute.params.token}`,
|
||||
}[router.currentRoute.name] || '/api/browse/navigation'
|
||||
|
||||
axios
|
||||
|
||||
Reference in New Issue
Block a user