Current Path : /home/lentoinv/lentoria.com/app/Http/Controllers/ |
Current File : //home/lentoinv/lentoria.com/app/Http/Controllers/FileController.php |
<?php namespace App\Http\Controllers; use Illuminate\Http\Response; class FileController extends Controller { public function serveValidationFile() { $filePath = public_path('.well-known/pki-validation/B4B3846A7DCBAB4942B468BBBE0D61FA.txt'); return response()->file($filePath, [ 'Content-Type' => 'text/plain', ]); } }