fix: Correct route name from remote.store-command to admin.remote.store-command in index.blade.php
All checks were successful
star-cloud-deploy-demo / deploy-demo (push) Successful in 54s
All checks were successful
star-cloud-deploy-demo / deploy-demo (push) Successful in 54s
This commit is contained in:
@@ -76,7 +76,7 @@ window.remoteControlApp = function(initialMachineId) {
|
||||
if (params.amount) formData.append('amount', params.amount);
|
||||
if (params.slot_no) formData.append('slot_no', params.slot_no);
|
||||
|
||||
const res = await fetch('{{ route('remote.store-command') }}', {
|
||||
const res = await fetch('{{ route('admin.remote.store-command') }}', {
|
||||
method: 'POST',
|
||||
headers: { 'X-CSRF-TOKEN': csrf },
|
||||
body: formData
|
||||
|
||||
Reference in New Issue
Block a user