diff --git a/resources/views/components/input-error.blade.php b/resources/views/components/input-error.blade.php new file mode 100644 index 0000000..9e6da21 --- /dev/null +++ b/resources/views/components/input-error.blade.php @@ -0,0 +1,9 @@ +@props(['messages']) + +@if ($messages) + +@endif diff --git a/resources/views/hosting/show.blade.php b/resources/views/hosting/show.blade.php index 9b5444e..7eea68f 100644 --- a/resources/views/hosting/show.blade.php +++ b/resources/views/hosting/show.blade.php @@ -49,7 +49,7 @@ this.passwordSuccess = ''; try { - const res = await fetch('{{ route('hosting.reset-panel-password', $order) }}', { + const res = await fetch('{{ route('hosting.legacy.reset-panel-password', $order) }}', { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -300,7 +300,7 @@ this.error = ''; this.success = ''; try { - const res = await fetch('{{ route('hosting.renew', $order) }}', { + const res = await fetch('{{ route('hosting.legacy.renew', $order) }}', { method: 'POST', headers: { 'Content-Type': 'application/json',