Update web.php
This commit is contained in:
@@ -30,7 +30,9 @@ Route::get('/preview', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
Route::get('/download/android', function () {
|
Route::get('/download/android', function () {
|
||||||
return response()->download(public_path('app/karudhaas.apk'));
|
return response()->download(public_path('app/karudhaas.apk'), 'karudhaas.apk'. [
|
||||||
|
'Content-type' => 'application/apk'
|
||||||
|
]);
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::get('/article/{article:id}', [ArticlesController::class, 'show'])->name('articles.show');
|
Route::get('/article/{article:id}', [ArticlesController::class, 'show'])->name('articles.show');
|
||||||
|
Reference in New Issue
Block a user