add permohonana

This commit is contained in:
hafifierahman
2022-04-14 11:26:32 +08:00
parent 27f1d3ac3d
commit db227f83a0
3 changed files with 36 additions and 14 deletions
-8
View File
@@ -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']
]);
});