Your ROOT_URL in app.ini is http://159.89.207.79:3000/ but you are visiting http://9.cron.my.id:3000/tribikram/ET-VISA/blame/commit/db016911bba90129ca4e96431628fb1fe9d73d9f/app/Http/Controllers/VisaController.php You should set ROOT_URL correctly, otherwise the web may not work correctly.

15 lines
279 B

<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\VisaService;
class VisaController extends Controller
{
public function index(){
$visas = VisaService::where('status',1)->get();
return view('visa',compact('visas'));
}
}