Controllers: Implement new HTTP class in development toggle

This commit is contained in:
Riyyi
2021-08-30 00:42:36 +02:00
parent 2311c98257
commit b244b625ab
3 changed files with 13 additions and 22 deletions
+1 -1
View File
@@ -238,7 +238,7 @@ $(document).ready(function() {
return;
}
$.get('/admin/toggle-development-mode').done(function(data)
$.get('/admin/cache/toggle').done(function(data)
{
const response = JSON.parse(data);
if (response.success == false) {