mirror of
https://github.com/nextcloud/server.git
synced 2026-02-17 01:41:05 -05:00
Merge pull request #32962 from nextcloud/getstoragestat-change-url
Remove .php from url
This commit is contained in:
commit
55bad5a1bb
2 changed files with 3 additions and 3 deletions
|
|
@ -99,7 +99,7 @@ $application->registerRoutes(
|
|||
],
|
||||
[
|
||||
'name' => 'ajax#getStorageStats',
|
||||
'url' => '/ajax/getstoragestats.php',
|
||||
'url' => '/ajax/getstoragestats',
|
||||
'verb' => 'GET',
|
||||
],
|
||||
[
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
state.call.abort();
|
||||
}
|
||||
state.dir = currentDir;
|
||||
state.call = $.getJSON(OC.filePath('files','ajax','getstoragestats.php') + '?dir=' + encodeURIComponent(currentDir),function(response) {
|
||||
state.call = $.getJSON(OC.filePath('files','ajax','getstoragestats') + '?dir=' + encodeURIComponent(currentDir),function(response) {
|
||||
state.dir = null;
|
||||
state.call = null;
|
||||
Files.updateMaxUploadFilesize(response);
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
},
|
||||
_updateStorageQuotas: function() {
|
||||
var state = Files.updateStorageQuotas;
|
||||
state.call = $.getJSON(OC.filePath('files','ajax','getstoragestats.php'),function(response) {
|
||||
state.call = $.getJSON(OC.filePath('files','ajax','getstoragestats'),function(response) {
|
||||
Files.updateQuota(response);
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue