Move our /api routes into /ajax under web.php. The /api routes werent authenticated and may not have been using the logged in users details

This commit is contained in:
2025-04-26 15:48:27 +10:00
parent 0083e9158b
commit 21a690c6dd
8 changed files with 21 additions and 41 deletions

View File

@@ -58,7 +58,7 @@
return false;
$.ajax({
url: '{{ url('api/schema/view') }}',
url: '{{ url('ajax/schema/view') }}',
method: 'POST',
data: { type: type },
dataType: 'html',