add permohonana
This commit is contained in:
@@ -16,14 +16,6 @@ use Illuminate\Support\Facades\Http;
|
||||
|
||||
Route::get('/iframe', function () {
|
||||
|
||||
$cawangan=Http::get(config('api.url').'/admin/permohonan/viewfiles',[
|
||||
'files_id' => 1
|
||||
])->json();
|
||||
|
||||
return response(base64_decode($cawangan['data']), 200, [
|
||||
'Content-type' => 'application/' . $cawangan['type'],
|
||||
'Content-Disposition' => 'inline; filename='.$cawangan['filename']
|
||||
]);
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user