Fix legacy hosting order page 500 from stale route names.
Deploy Ladill Hosting / deploy (push) Successful in 21s

Point show.blade.php at hosting.legacy.* routes and add the missing input-error component.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-06 20:35:18 +00:00
co-authored by Cursor
parent d532f5b206
commit c91d25eb3b
2 changed files with 11 additions and 2 deletions
@@ -0,0 +1,9 @@
@props(['messages'])
@if ($messages)
<ul {{ $attributes->merge(['class' => 'text-sm text-red-600 space-y-1']) }}>
@foreach ((array) $messages as $message)
<li>{{ $message }}</li>
@endforeach
</ul>
@endif
+2 -2
View File
@@ -49,7 +49,7 @@
this.passwordSuccess = ''; this.passwordSuccess = '';
try { try {
const res = await fetch('{{ route('hosting.reset-panel-password', $order) }}', { const res = await fetch('{{ route('hosting.legacy.reset-panel-password', $order) }}', {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
@@ -300,7 +300,7 @@
this.error = ''; this.error = '';
this.success = ''; this.success = '';
try { try {
const res = await fetch('{{ route('hosting.renew', $order) }}', { const res = await fetch('{{ route('hosting.legacy.renew', $order) }}', {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',